Add a loading Indicator for searches and allow users to sort by relevancy or date

in #utopian-io7 years ago (edited)

Mixion A Native Android app for Steemit

Mixion on Google Play

Wanna get your hands on the Mixion source code and potentially earn high rewards from utopian? Complete this simple task.

So this task basically consist of integrating this feature

Details & Components

This task is divided into 3 sections:

  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.

Bonus - Try to use this circular reveal animation to transition the FAB to the dialog. check out how I've used it as an Example

Deadline

If nobody has has stepped forward to complete this task within the next 3 days, then I'll begin working on it myself. Anyone that has chosen this task will have just a few days to complete it as it is not too complicated, I think it would take me just a few hours to complete this.

Submission

Make sure you branch off of the dev branch and submit a pull request to dev. All your commits have to be concise of what your code changes do.

I will review the pull request and comment of what needs to improve or change, and after I have merged you will be marked as the solver for this task request.

Communication

I check Steemit and Utopian regularly, so you can just comment in here if you think you can get this done.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the task request. It has been approved.

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

Hey @amosbastian, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

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!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

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