You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement the adapter, but Android Studio does not recognize the method setListAdapter.
Error thrown is: Cannot resolve method setListAdapter(com.wdullaer.swipeactionadapter.SwipeActionAdapter)
Import in the class is the following:
You wrap your adapter with the SwipeActionAdapter by passing it into the constructor.
You then set the resulting SwipeActionAdapter to your ListView using its setAdapter() method.
In the example app, we're using a ListActivity, which has an embedded ListView. Essentially setListAdapter() passes through to setAdapter() on the ListView
I would also recommend using the latest version of this library.
Thank you for your reply.
I am still having the same problem also with setAdapter(), meaning Cannot resolve method setAdapter(com.wdullaer.swipeactionadapter.SwipeActionAdapter)
So I am not sure if you have any idea about what could be the issue.
I was trying to implement the adapter, but Android Studio does not recognize the method setListAdapter.
Error thrown is:
Cannot resolve method setListAdapter(com.wdullaer.swipeactionadapter.SwipeActionAdapter)
Import in the class is the following:
Gradle dependencies as below:
I tried also to add the lib as external .jar file but same result.
Is there any compatibility issue with SDKs or gradle versions?
The text was updated successfully, but these errors were encountered: