Why The constructor ArrayAdapter(new View.OnKeyListener(){}, int, String[]) is undefined

前端 未结 4 1346
南笙
南笙 2021-01-18 01:54

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

4条回答
  •  终归单人心
    2021-01-18 02:41

    The constructor is not defined because this is a reference to View.OnKeyListener. Use YourOuterClass.this instead.

提交回复
热议问题