You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need new presenter on every activity creation anyways. If it is to handle activity recreation then the associated component will also be recreated which in turns results in new presenter object.
The text was updated successfully, but these errors were encountered:
@chaitanya-exp It is for demonstration purposes, In future there can be a few dependencies which will live during the scope of for example just HomeActivity, like HomeActivityRouter (which can manage navigation between various fragments within HomeActivity, same instance can be injected into all three fragments but for a different activity I would still create a new Router. There could be multiple such examples. Here's just to demonstrate how we can do this.
We need new presenter on every activity creation anyways. If it is to handle activity recreation then the associated component will also be recreated which in turns results in new presenter object.
The text was updated successfully, but these errors were encountered: