Why not just read from a cursor, directly? textView.setText(cursor.getString(0));
On May 28, 12:47 pm, Johnny Zen <[email protected]> wrote: > Hi all > > Can I use the SimpleCursorAdapter to display data in textview rather > than a list?? > > Bit confused if the SimpleCursorAdapter is only used for displaying a list. > > Do I need a custom Adapter called "TextViewAdapter" ? > > I am trying to add some data from a linked table from a database into > an existing layout using a cursor. Think I have gotton myself all > confused. > > Can anyone help me ? > > Thanks > > Johnny --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

