Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7560753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:59:03+00:00 2026-05-30T12:59:03+00:00

Am trying to implement chrisbane’s pull-to-refresh library for my ListView (https://github.com/chrisbanes/Android-PullToRefresh). It seems simple

  • 0

Am trying to implement chrisbane’s pull-to-refresh library for my ListView (https://github.com/chrisbanes/Android-PullToRefresh). It seems simple enough but what Im having trouble with is the fact it seems to require it’s own data set, seperate to what’s managed by your list adapter, i.e.

mListItems = new LinkedList<String>();
mListItems.addAll(Arrays.asList(mStrings));

All the examples I’ve seen just use this simple list of strings, but how do you go about using this with any kind of custom adapter, such as one that that contains a string and an imageview, etc?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:59:04+00:00Added an answer on May 30, 2026 at 12:59 pm

    There’re plenty of examples on this site and around.
    You create your adapter and set this arraylist as a field there
    or usually set as a constructor parameter.
    You @override getView() of this adapter and get your items using position parameter
    in the getView(). Here look at the OrderAdapter class in this example:
    http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/
    and here at the GameAdapter class
    http://jnastase.alner.net/archive/2010/12/19/custom-android-listadapter.aspx


    hope this helps abit

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying implement pull to refresh on a ListFragment but right now none of
Trying to implement the excellent jQuery bidirectional infite scroll as explained here: http://www.bennadel.com/blog/1803-Creating-A-Bidirectional-Infinite-Scroll-Page-With-jQuery-And-ColdFusion.htm For
Im trying to implement GA in my android app. When i call 'GoogleAnalyticsTracker.getInstance()' i
SetFocus I'm trying implement the above Se Focus code in a Class Library that
Trying to implement this gallery on my website. http://coffeescripter.com/code/ad-gallery/ It is noted in the
I am trying implement a photo gallery similar to facebook in Android. I was
Im trying to implement this code: http://wcf.codeplex.com/wikipage?title=Getting%20started:%20Building%20a%20simple%20web%20api and want to add it to my
All I am currently trying implement something along the lines of dim l_stuff as
trying to implement a dialog-box style behaviour using a separate div section with all
Trying to implement a rating system of users and postings. What is the best

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.