Android application which shows information about the movies. It contains title, releasing date, rating, trailer and comments about movies. It uses the api provided by the themoviedb. Movies can be seen by following two categories.
- Most popular
- Top Rated
For running this application you have to keep your api key provided by the themoviedb in the projects build.gradle field API_KEY as :
build.gradle
buildTypes.each {
it.buildConfigField 'String', 'MOVIE_API_KEY', '"YOUR_API_KEY"'
}
##Library Used
- ButterKnife for view injection
- Piccaso for caching and dowloading the image from the web.
- Retrofit version 2.0 for fetching data from the web
- Otto as a event bus.
- SelectableRoundedImageView used for supporting the differnt raddi in the imageview's corner.
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:cardview-v7:21.0.+'
compile 'com.android.support:preference-v7:23.0.0'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:palette-v7:23.0.0'
//for view injection
compile 'com.jakewharton:butterknife:7.0.1'
//for the different radii of imageview
compile 'com.joooonho:selectableroundedimageview:1.0.1'
//for image loading
compile 'com.squareup.picasso:picasso:2.5.2'
// for HTTP request
compile 'com.squareup.retrofit:retrofit:2.0.0-beta1'
//for the converting JSON string to an equivalent Java object
compile 'com.squareup.retrofit:converter-gson:2.0.0-beta1'
//for event
compile 'com.squareup:otto:1.3.8'
compileSdkVersion 23
buildToolsVersion "23.0.1"
minSdkVersion 19
targetSdkVersion 21