Answer the question
In order to leave comments, you need to log in
How to properly store Events in classes?
I am using several packages in my android project.
For example:
com.app.example->activities
com.app.example->adapters
public class Event1
{
}
class Event2
{
}
public class Event1
{
}
public class Event2
{
}
Answer the question
In order to leave comments, you need to log in
You don't need to store anything in the same events/activities/adapters package. It's stupid. Keep everything on features. Login package, inside LoginActivity, LoginAdapter, EventLogIn, EventLogOut, etc. Etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question