I want to add the endless adapter functionality to my custom adapter. How can I use this combination? Thank you.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You follow the instructions in the GitHub repo for the project.
EndlessAdapteris a wrapper around your custom adapter.So, first, you get your custom adapter working correctly on its own. Then, you create your
EndlessAdaptersubclass (with your implementation ofcacheInBackground(), etc.), wrap your custom adapter in an instance of yourEndlessAdaptersubclass, and put your instance of yourEndlessAdaptersubclass in yourListView.The
demo/ sub-project contains some sample activities. They happen to wrap anArrayAdapter. They could just as easily wrap aDineshSuperAwesomeAdapter.