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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -