Skip to content

Instantly share code, notes, and snippets.

View boss1088's full-sized avatar

Serhii Bosovskyi boss1088

View GitHub Profile
Retrofit2
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-keepattributes *Annotation*
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
public interface BaseSchedulerProvider {
@NonNull
Scheduler computation();
@NonNull
Scheduler io();
@NonNull
Scheduler ui();
Model Interface https://github.com/boss1088/tvshow/blob/master/app/src/main/java/com/bosovskyi/tvshow/data/source/models/TvShowModel.java
Remote Object https://github.com/boss1088/tvshow/blob/master/app/src/main/java/com/bosovskyi/tvshow/data/source/models/TvShowApi.java
Remote DataSource https://github.com/boss1088/tvshow/blob/master/app/src/main/java/com/bosovskyi/tvshow/data/source/remote/RemoteShowsDataSource.java
Presenter https://github.com/boss1088/tvshow/blob/master/app/src/main/java/com/bosovskyi/tvshow/shows/TvShowsPresenter.java
View https://github.com/boss1088/tvshow/blob/master/app/src/main/java/com/bosovskyi/tvshow/shows/TvShowsViewImpl.java
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CollapsingToolbarLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false">
1876;JM;Jamaica
1869;KN;Saint Kitts & Nevis
1868;TT;Trinidad & Tobago
1784;VC;Saint Vincent & the Grenadines
1767;DM;Dominica
1758;LC;Saint Lucia
1721;SX;Sint Maarten
1684;AS;American Samoa
1671;GU;Guam
1670;MP;Northern Mariana Islands