Log in

No account? Create an account
proguard onclick - Toronto Dude — LiveJournal

> Recent Entries
> Archive
> Friends
> Profile

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.


> Go to Top