Meghana9731 / Last.fm

Last FM API Android integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Last FM Top 5

App Description:

The app simply displays the top 5 albums, artists and tracks for a last.fm user, you can type any user name and check his or her top fives.

Technical Description:

  • The app is structured in MVP.
  • My most valuable reference for implementing MVP in android is Antonio Leiva's Post
  • The app uses last fm's APIs to get the user top lists.
  • To be able to use their APIs you need first to create an API key.
  • You can use methods to get top artists, search for artits/tracks etc..
  • To not only display top fives you can extend the limit for each request as much as you want but with max 50 records per call by changing the value of TOP_ITEMS_LIMIT to 50 in Constants.Java file.
  • I have used Dagger2 to inject dependencies in userslisting module.
  • I have added an android unit test using espresso to test that the listing data is displayed correctly.
  • I have added a unit test for time duration converter.
  • 3rd party libraries used:RxJava/RxAndroid 2, Dagger2, Butterknife and Retrofit2.
  • you can download an apk file for the app here or you can see an app run on youtube.

Alt Alt

About

Last FM API Android integration


Languages

Language:Java 100.0%