Skip to content
Advertisement

Cannot resolve method ‘setText(Model)’

I am trying to make grid view have to texts but I faced this problem no suitable method found for setText(Model)i am tried to make to listView but doesn’t go well so I am asked and this code is best code I reached into it .. till now … why it Cannot resolve method ‘setText(Model)’ ?

problem Image

This is my Adapter …

JavaScript

And this is model class …

JavaScript

Advertisement

Answer

change your code to this:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement