Cannot resolve constructor ArrayAdapter(android.Content.Context, int, java.util.ArrayList)

后端 未结 3 654
谎友^
谎友^ 2021-01-26 17:59

I know this question has been asked a million times before, but I have tried all of the solutions I can find, and still doesn\'t work. I have tried calling \"this\" for context,

3条回答
  •  后悔当初
    2021-01-26 18:44

    Your Array Adapter is of Type Review

    ArrayAdapter arrayAdapter 
    

    But Your passing :

     ArrayList reservations
    Change it to ArrayAdapter
    

提交回复
热议问题