1. Are you ready for the Galaxy S20? Here is everything we know so far!

need to store 2 column, but display only 1 in listview

Discussion in 'Android Development' started by jesb, Sep 2, 2011.

  1. jesb

    jesb Lurker
    Thread Starter

    i'm new to android, and i'm trying to accomplish the following.

    in SimpleCursorAdapter, i can bind 2 column to a ListView:
    - the id of a row in sqllite db
    - and the data of a row users see '

    this app that i'm writing is displaying data from external source(data return from PHP which pull stuff from mysql).
    how do i accomplish the same thing in ListView? i need to store the ID column, but display ONLY the data of a row WITHOUT the id.
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...