]> git.ktnx.net Git - mobile-ledger.git/commit
move profile editor data in a model class so that it survives reconfiguration
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 20 Apr 2020 18:49:20 +0000 (21:49 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 20 Apr 2020 18:49:20 +0000 (21:49 +0300)
commitaca020bc5f699663a7389f50d5ea4e034e5d6976
tree686e30e4e85d6ebef74141034935b8b8b12c186e
parentaa68224c994c89ac69c8a944f2f72aa8230fc8db
move profile editor data in a model class so that it survives reconfiguration

without this, rotating the device resets the fragment to its initial
state (original profile values or default values)
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailModel.java [new file with mode: 0644]