From: Damyan Ivanov Date: Thu, 19 Dec 2019 20:05:56 +0000 (+0200) Subject: profile details fragment: move setup from onCreate to onActivityCreated X-Git-Tag: v0.12.0~142 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=35f511dbf3d90942c33c9524e891dfdbcde4579e;hp=35f511dbf3d90942c33c9524e891dfdbcde4579e;p=mobile-ledger.git profile details fragment: move setup from onCreate to onActivityCreated this is what the docs suggest and it fixes a problem with the toolbar title changing to from profile name to 'Profile details' when the screen is rotated. This is because the title is set during the setup and onCreate isn't necessarily run when the screen is rotated (contrary to onActivityCreated which is re-run since the activity is re-created on reconfiguration (of which screen rotation is an instance)) ---