Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLite data query  RSS feed

 
Kate Wyatt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

Does anyone have a good method of retrieving SQLite data? I need to retrieve all the values in the database and the table is called Booking. I want to be able to populate a list view with the data but I'm not sure how it is done other than you need an array adapter potentially?
If anyone could point out how to do it as I'm quite confused about it, it would be of much use!

Class in database handler file


Method in Search Activity
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!