I am using the android:onClick
atribute in some of my .xml layout files for my android application, but ProGuard is removing these methods from my code when it runs because nothing in my code is ever calling them.
Rather then specifying each function individually, I would like to name them something like listener_functionName
, and use wildcards, like -keep listener_*
(I know this is incorrect, but hopefully it illustrates my goal).
If this is possible that would be great, but if not I still need to know how to specify these functions in the proguard.cfg file. Any help is appreciated.