SharedPreferences or SQlite

后端 未结 4 757
Happy的楠姐
Happy的楠姐 2021-01-20 15:51

I\'m developing an Android AppWidget which displays a short text inputted from the configuration activity. I\'m a bit confused when it\'s comes to storing the data, should I

4条回答
  •  梦毁少年i
    2021-01-20 16:34

    Depends on the data you're planning to store. If it's quite simple, sharedPreferences would do the job. If it's more complicated use DB.

提交回复
热议问题