S
S
SofroN2015-12-01 11:40:55
Android
SofroN, 2015-12-01 11:40:55

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

1 answer(s)
A
aol-nnov, 2015-12-01
@SofroN

It is for accounts that you do not need a sink adapter. account manager only.
and I think this is what is needed in this situation. for example, here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question