From: Damyan Ivanov Date: Sun, 21 Feb 2021 10:30:25 +0000 (+0200) Subject: move sample text scanning to the template activity X-Git-Tag: v0.18.0~182 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;ds=inline;h=086190fcb88b75bf3df3eeeb6357f15ed1127f4f;hp=086190fcb88b75bf3df3eeeb6357f15ed1127f4f;p=mobile-ledger-staging.git move sample text scanning to the template activity the initial idea was to have an abstract fragment class that could handle the details about launching the QR scanner and accept the result. however, the right place to do this is the activity, because only an activity can receive the scan result, and launch the QR app. Before, this was worked around by a LiveData thing that the activity observed, and which the "Scan" buttons triggered. This has a nasty side effect that the LiveData is triggered whenever the activity is re-instantiated ---