• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

database data -to-> List view, how

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how populate a List View from database table records[sqlite]?
is more easy to populate with DB TABLE RECORDS:
1.RADIO BUTTONS or
2.LIST VIEW + RADIO BUTTONS ??

May in RADIO BUTTON GROUP have a LIST VIEW and again inside it(LIST VIEW) RADIO BUTTONS???
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's the connection between radio buttons, a list view, and data in a DB? Make sure to KeepItDown.
 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use SimpleCursorAdapter.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:What's the connection between radio buttons, a list view, and data in a DB? Make sure to KeepItDown.



may in List view appear radios? >>>>

each item in List View will have a radio, and the text will be from database table fields(concatenated)... when choose a radio and press MENU to appear menu of buttons or identically press a button at end of List, and you will choose edit/delete record or call record, well,

How a checked radio id[in a radio button group] is extracted in an Activity?
 
Ranch Hand
Posts: 56
Android Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Leonidas Savvides wrote:
may in List view appear radios?


Sure, you can create any View you want using all View widgets.
You'll need to override the getView method of the adapter to setup and fill each item.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic