Reimplementing CrytpoNews in Native Android(UPDATE #5: FAVORITE FEATURE ADDED)

in #utopian-io7 years ago (edited)

The aim of the app is to fetch news from different wordpress websites and display in the application. While the news are displayed, the app gives you the ability to click and view each news within the app. Instead of taking you out of the app, it gives you the comfort of viewing within the app.

History

Previous Updates

New Features

  • User can now save his/her favorite news to read later by just clicking of a button
Clicking on Show Favorites to Enter Favorite screenThe covered Star Icon Indicates that the Post has been Favorited
Group 2-1.pngGroup 3.png
Empty Favorite Screen with no ItemsOnLongPress Action on an item creates a context Menu where user can delete (1) post at a time
Group 2-3.pngGroup 2.png
Favorite Screen with one ItemEmpty Star Icon indicates that the post has not been favorited
Group 2-2.pngScreenshot_20180424-195904.png

How It was Implemented

The resources for the icons were gotten from google icons - Commit can be found here

A dao was created to retrieve the data from the FavoriteTable -(A pojo class annotated with @Entity) in the database. This class was adequatey provided using dagger in the AppModuleClass.

  • The star icons were implemented in the NewswebPageActivity where a user can add and remove from the database.

  • Flexible Adapter was used to perform LongPressAction on the adapter in the Favorite Activity.

Final Commit here

Resources

  • Github Pull Request- Link of PR can be found here
  • Apk for download - Download here
  • *Note: Ff you have a previous installation, kindly uninstall before installing this version, versioning will soon be available out on Playstore !!!

Roadmap

  • Searching all news
  • Persisting user news
  • Providing different layouts
  • Providing different themes for user
  • Push Notifications
  • News Posts sharing
  • Incorporating more news and giving the user the flexibility of deciding what he wants to read per time.
  • Able to save Favorites
On the Next Updates , Users will be able to :-
  • Search through News,
  • Delete Multiple Items in Favorite Activity.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Good Work!! MVVM Architecture practices were followed and you made the Dao for database connectivity. I like how you put all the assets you used in 1 commit. and all the code in 2nd and reformated the code :)


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Thanks for the contribution. It has been approved.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

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

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
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!

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

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
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!

Loading...

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 95814.43
ETH 3337.94
USDT 1.00
SBD 3.10