title: How can I tell ProGuard to keep my function that is used for onClick?
body: <p>I am using the <code>android:onClick</code> 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.</p>
  
  <p>Rather then specifying each function individually, I would like to name them something like <code>listener_functionName</code>, and use wildcards, like <code>-keep listener_*</code> (I know this is incorrect, but hopefully it illustrates my goal).</p>
  
  <p>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.</p>