Android Question update listview item

Discussion in 'Android Questions' started by merlin2049er, May 11, 2015.

  1. merlin2049er

    merlin2049er Well-Known Member Licensed User

    Hi, I was trying to figure out how to update an item in a listview.

    I'm keeping track of the listview position, popping up a side panel, and based on that input, I'd like to append to what's in that current position.
     
  2. DonManfred

    DonManfred Expert Licensed User

    You need to repopulate the listview-content with the new (bigger or smaller=) content.
     
    thedesolatesoul likes this.
  3. merlin2049er

    merlin2049er Well-Known Member Licensed User

    Well, I was hoping I didn't need to add to the list. Maybe I should remove at the specific position, and add it back.
     
  4. DonManfred

    DonManfred Expert Licensed User

    You cannot INSERT a item into a listview... Just ADD
     
  5. merlin2049er

    merlin2049er Well-Known Member Licensed User

    Maybe I should use another library?
     
  6. thedesolatesoul

    thedesolatesoul Expert Licensed User

    What are your options?
     
    NJDude likes this.
  7. merlin2049er

    merlin2049er Well-Known Member Licensed User

    How about a custom listview?
     
  8. thedesolatesoul

    thedesolatesoul Expert Licensed User

    How big is your list and how many items?
    Custom listview is ok, otherwise you may want the UltimateListView.
     
    NJDude likes this.
  9. merlin2049er

    merlin2049er Well-Known Member Licensed User

    Oh, not many items. It's a golf score card.
     
  10. thedesolatesoul

    thedesolatesoul Expert Licensed User

    cool1
     
    NJDude likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice