Fix the bug that after locking the screen / pausing the app, while searching for a token, when you re-entered the page, the "no tokens found" message would still appear, on top of token results.
We could set the message to invisible on resume, but to me it seems the real issue is that on resume, we go back to the contractAddressFragment, without killing the tokenSelectFragment.
Changes
LookForNewTokensFragment no longer resets the current item/view. (So it resumes back in the same state)
Checklist
[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
Purpose
Fix the bug that after locking the screen / pausing the app, while searching for a token, when you re-entered the page, the "no tokens found" message would still appear, on top of token results.
We could set the message to invisible on resume, but to me it seems the real issue is that on resume, we go back to the contractAddressFragment, without killing the tokenSelectFragment.
Changes
Checklist