Office Hours — Today, May 3

Monday, May 1

May 3
7:20 PM
Mark M.
has entered the room
7:25 PM
Mark M.
turned on guest access
8:00 PM
chike m.
has entered the room
Mark M.
hello, chike!
how can I help you today?
chike m.
Hi Mark
View paste
I have an activity with TabLayout that has 3 fragments.
Each of the fragments has a Loader that reads from the same SQLite data database(same table) when the activity is started. Is there any kind of drawback to this implementation?
Mark M.
if they are all reading the same *data*, that would be wasteful, and you could find a way to centralize it
if they are reading the same table, but different data (e.g., different selection criteria), then AFAIK what you are proposing is fine
8:05 PM
chike m.
ok
Thanks
chike m.
has left the room
8:25 PM
Mark M.
turned off guest access

Monday, May 1

 

Office Hours

People in this transcript

  • chike mgbemena
  • Mark Murphy