Why The constructor ArrayAdapter(new View.OnKeyListener(){}, int, String[]) is undefined in following my coding. This coding is for fetching data from SQLite when typing wor
The keyword this points to the current instance of View.OnKeyListener class. The constructor of ArrayAdapter takes current context as first parameter which is your outer class name i.e., View (say MyActivity).