java - Overriding method which is in a static inner class -


what i'm trying achieve override method:

public boolean onkeypreime(int keycode, keyevent event)

the method in searchview.searchautocomplete class http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/5.1.0_r1/android/support/v7/widget/searchview.java#searchview.oncloseclicked%28%29

i know how extend searchview class:

public class customsearchview extends searchview { public customsearchview(context context) {     super(context); }  public customsearchview(context context, attributeset attrs) {     super(context, attrs); }  } 

but possible extend inner static class , override method?

onkeypreime method located in searchautocomplete class.

actually set own implementation of class implements tintautocompletetextview can't that.

private final searchautocomplete mquerytextview; 

modificator final of field means not accessible through via reflection.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -