java - How to bind SQLite data to textview in Android -


i'm looking simplest way bind value in sqlite column textview. have hundred textviews across number of activities.

i have dbhelper class define table , columns , sqlcontroller class define methods insert, , update data. of pretty boilerplate code.

for each activity open database, set cursor , data, update database when activity closes.

is there library can use bind fields in db textview directly? use butterknife bind data objects views , considering implementing android data binding, wondering if there's way go directly database view without having write boilerplate code?


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -