Answer the question
In order to leave comments, you need to log in
Profiles (accounts) in the android application, need advice on implementation?
What is the best way to implement user profiles in your application.
The first thing that came to mind was to indicate to each entry in the database which profile it belongs to. I do not like this option because you need to constantly (when adding, deleting, querying) specify the profile.
The second thought is to use its own database for each profile, but I still don’t understand how to switch between them when using the content provider.
The third option is to use an account manager. I didn’t have a close acquaintance with him, in this regard, I can’t imagine how profiles will be divided among themselves with the help of him.
Can someone suggest a fresh idea or something to advise?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question