Android - Spotify + Model View Presenter (MVP)
Example android Model View Presenter used to explain how to use this pattern in our android applications.
This example was created to support an article explanation Model View Presenter en Android (spanish).
Libraries used on the sample project
- AppCompat, CardView, RecyclerView an Design
- Butterknife
- Retrofit 2
- RxJava & RxAndroid
- Gradle Retrolambda Plugin
Demo
Access Token
The Spotify Api has been changed so now is required an Access Token.
The class Constans
has a variable ACCESS_TOKEN
replace with your auth token if Spotify Api
response 401 unauthorized code
.
- Get Your Access Token from Spotify Api Doc
how does it work?
Do you want to contribute?
Feel free to report or add any useful feature, I will be glad to improve it with your help, before submitting your code please check the codestyle.
Developed By
- Erik Jhordan Rey - erikcaffrey10@gmail.com or erik.gonzalez@schibsted.com.mx
License
Copyright 2016 Erik Jhordan Rey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.