Sort Steemit search results on Mixion

in #utopian-io7 years ago (edited)

What is Mixion?

A Native Android app that directly connects to the steem blockchain. Majority of functionality on Steemit.com can be found in Mixion.

This is a relatively small update. The primary purpose is to showcase the completion of a task request

New Features

  • Sort Search Results

Steemit search results can now be ordered and filtered either by number of votes, number of replies or their upload date. This gives you more control over your search.

Untitled.png

  • How did you implement it/them?

as per this task request

  1. Change the layout to accommodate a loading indicator and a Floating Action Button. The parent layout will have to be changed, probably to a RelativeLayout

  2. Write the code in Kotlin for the functionality of the loading indicator and the FAB. Mixion is written following the MVP design pattern so all the changes should be in the search package

  3. Inflate a dialog to select the sort by method, and fetch the data. For this you will need to work in the data source directory. I believe that this getUserMentions() functions should work just fine, you may need to refer to the AskSteem Docs to make sure. You will need to integrate this function in the AskSteemRepository and also AskSteemApi then from within the SearchPresenter simply call something like repository.sortBy() and update the Adapter accordingly with the newly loaded data.

Get it from Google Play

Mixion on Google Play

Code changes

Apr. 4 - Apr. 7

Verification

image



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Hi, can you add usage and install instructions to your README?

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

Thank you,

Can you explain please? There's really no special instructions for cloning and opening up the project in Android Studio. I also keep a Playstore button on my README where users can install the latest version from the Playstore.

I know there aren't any special instructions, but it's in the rules. It's nice to have instructions on how to get a development env running, so everyone can do this if they want to.

Congratulations @edgar-trem! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Do not miss the last announcement from @steemitboard!

Hey @edgar-trem 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!
  • Seems like you contribute quite often. AMAZING!

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