onResume is also called when the app is brought to the front and there is no
need to refresh profile data at this time
setContentView(R.layout.activity_main);
+ setupProfile();
+
fab = findViewById(R.id.btn_add_transaction);
profileListContainer = findViewById(R.id.nav_profile_list_container);
profileListHeadArrow = findViewById(R.id.nav_profiles_arrow);
intent.putExtra(BUNDLE_SAVED_STATE, bundle);
startActivity(intent);
}
- @Override
- protected void onResume() {
- super.onResume();
- setupProfile();
- }
public void startEditProfileActivity(MobileLedgerProfile profile) {
Intent intent = new Intent(this, ProfileDetailActivity.class);
Bundle args = new Bundle();