What place should be stored in the data warehouse for the wizard?

my application consists of <10 activities that cover part of the wizard. Each of these actions should collect user data and maintain the current status, which should be resumed if the application unexpectedly terminates.

Now that the collected data looks like 'private', the Dev Guide offers three options for saving data:

  • General preferences
    Seems appropriate for my purpose; key / value will be great for my data.

  • Internal storage by
    I / O of them for each intention is redundant

  • SQLite Database
    Okay, too

What I'm interested in right now is the right approach to choosing a home for my data? Are there any recommendations or storage recommendations on Android devices?

+3
source share
1 answer

General settings use IO - it's just an xml file in your application data folder. Choose the one that is easier for you to implement. I would use general settings.

As for the "home for data" - this is normal. Storage options are already well designed for you, so you don’t have to worry about that. Just use the one that best suits your goals.

+1
source

Source: https://habr.com/ru/post/1793815/


All Articles