]> git.ktnx.net Git - mobile-ledger.git/commit
NT: keep cursor position while setting account name text
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 17:33:20 +0000 (19:33 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 17:33:20 +0000 (19:33 +0200)
commita0508ea0def0c4c6400626f26517d8e69631ff15
tree88f11b4beb0bb7fbf22342a30ba997137b2368ec
parentabc2cfe2c435d10ade2533d09eccab9a32f5bba6
NT: keep cursor position while setting account name text

some times the ViewHolder is replaced and the already entred text needs
to be restored. this resets the cursor position to 0, which is rather
uncomfortable while entering text
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionItemHolder.java
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionItemsAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java
app/src/main/res/layout/new_transaction_row.xml