]> git.ktnx.net Git - mobile-ledger.git/commit
MLDB: store the application instance in the context variable
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 07:59:32 +0000 (07:59 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 07:59:32 +0000 (07:59 +0000)
commita65591287e5d6166c89a8ec7eb69d350b591abb1
treedc5d3ebe8410fb59c1d92d4a4289c85ca32efd31
parent1aadcdeec93fc8892a8323735334890cd8859c80
MLDB: store the application instance in the context variable

avoids a warning about storing activity/fragment instances in static variables,
which may lead to leaks
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java