?

Log in

proguard onclick - Toronto Dude

> Recent Entries
> Archive
> Friends
> Profile

Links
Toronto Apartments for Rent

April 22nd, 2011


Previous Entry Share Next Entry
02:39 am - proguard onclick
For some reason proguard ignores onclick handlers that are called directly from the layout.xml files. So you need to tell proguard that these methods need to be left un-obfuscated.
To do that, try this in your proguard config file:


-keepclassmembers class *{
public void *(android.view.View);
}



And voila! your methods will be left alone.
Tags:

 


> Go to Top
LiveJournal.com