Add search for token list

in #utopian-io6 years ago (edited)

With the increasing number of tokens on ethereum, it is important to quickly access the required token. Hence, a search field was added to the token list activity.

Here is the link to the pull request:
https://github.com/walleth/walleth/pull/86

And a screenshot of the search feature:
Token search

The main work was to add a sortable list of tokens in TokenListAdapter. This change will also enable filtering by other token properties in the future, e.g. for a list of favorite tokens.

The search is done by comparing the symbol of the token and the name of the token. Search by address was not included as users usually do not handle token addresses directly.

This was my first real contribution to the walleth project and @ligi helped my to get it merged. This project is a nice combination of my interests in Ethereum and Android. Therefore, I will try to go through the list of open issues and propose more pull requests.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @friedger I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you for the contribution. It has been approved.

You may consider writing more about your contributions. For example, did you make it because there was an issue for it on GitHub or was it your idea to include the search function?

For the demo of the features, you might also choose a gif image instead of static image to show the process and not just the result.

You can contact us on Discord.
[utopian-moderator]

Thanks for the approval and the comments.