├── start_fresh ├── LICENSE ├── README.md ├── strings ├── styles ├── Seeder ├── RestApi ├── SuiteIntegration ├── RxProviders ├── Wireframe ├── LaunchActivity ├── PresentationComponent ├── RestApiTest ├── GoogleAnalyticsSender ├── AndroidManifest ├── RestApiMock └── build ├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── drawer_item_text_icon_state.xml │ │ │ │ ├── drawer_item_background_state.xml │ │ │ │ └── counter.xml │ │ │ ├── menu │ │ │ │ ├── menu_dashboard.xml │ │ │ │ ├── menu_filter.xml │ │ │ │ └── drawer.xml │ │ │ ├── drawable-svg │ │ │ │ └── drawable │ │ │ │ │ ├── ic_user.xml │ │ │ │ │ ├── ic_logout.xml │ │ │ │ │ ├── ic_search.xml │ │ │ │ │ └── ic_users.xml │ │ │ └── sections │ │ │ │ ├── common │ │ │ │ └── layout │ │ │ │ │ ├── single_fragment_activity.xml │ │ │ │ │ ├── toolbar.xml │ │ │ │ │ ├── no_results.xml │ │ │ │ │ ├── srv_progress.xml │ │ │ │ │ └── action_bar.xml │ │ │ │ ├── user_demo │ │ │ │ └── layout │ │ │ │ │ ├── users_fragment.xml │ │ │ │ │ ├── user_fragment.xml │ │ │ │ │ ├── user_view_group.xml │ │ │ │ │ └── user_search_fragment.xml │ │ │ │ └── dashboard │ │ │ │ └── layout │ │ │ │ ├── drawer_counter.xml │ │ │ │ ├── drawer_header.xml │ │ │ │ └── dashboard_activity.xml │ │ ├── java │ │ │ └── app │ │ │ │ ├── presentation │ │ │ │ ├── sections │ │ │ │ │ ├── user_demo │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── UserPresenter.java │ │ │ │ │ │ │ └── UserFragment.java │ │ │ │ │ │ ├── search │ │ │ │ │ │ │ ├── SearchUserPresenter.java │ │ │ │ │ │ │ └── SearchUserFragment.java │ │ │ │ │ │ ├── list │ │ │ │ │ │ │ ├── UsersPresenter.java │ │ │ │ │ │ │ └── UsersFragment.java │ │ │ │ │ │ └── UserViewGroup.java │ │ │ │ │ ├── launch │ │ │ │ │ │ └── LaunchActivity.java │ │ │ │ │ ├── Wireframe.java │ │ │ │ │ └── dashboard │ │ │ │ │ │ └── DashBoardActivity.java │ │ │ │ └── foundation │ │ │ │ │ ├── views │ │ │ │ │ ├── SingleActivity.java │ │ │ │ │ ├── LayoutResActivity.java │ │ │ │ │ ├── LayoutResFragment.java │ │ │ │ │ ├── BaseFragment.java │ │ │ │ │ └── BaseActivity.java │ │ │ │ │ ├── dagger │ │ │ │ │ ├── PresentationModule.java │ │ │ │ │ └── PresentationComponent.java │ │ │ │ │ ├── PresenterFragment.java │ │ │ │ │ ├── SyncScreens.java │ │ │ │ │ ├── AppCare.java │ │ │ │ │ ├── gcm │ │ │ │ │ └── GcmReceiverBackground.java │ │ │ │ │ └── BaseApp.java │ │ │ │ ├── data │ │ │ │ ├── foundation │ │ │ │ │ ├── gcm │ │ │ │ │ │ ├── GcmTokenReceiver.java │ │ │ │ │ │ └── GcmMessageReceiver.java │ │ │ │ │ ├── net │ │ │ │ │ │ ├── ResponseString.java │ │ │ │ │ │ ├── BadResponseException.java │ │ │ │ │ │ ├── RestApi.java │ │ │ │ │ │ └── mock │ │ │ │ │ │ │ ├── Seeder.java │ │ │ │ │ │ │ ├── Validator.java │ │ │ │ │ │ │ └── RestApiMock.java │ │ │ │ │ ├── UIUtils.java │ │ │ │ │ ├── cache │ │ │ │ │ │ └── RxProviders.java │ │ │ │ │ ├── analytics │ │ │ │ │ │ └── GoogleAnalyticsSender.java │ │ │ │ │ ├── Repository.java │ │ │ │ │ └── dagger │ │ │ │ │ │ └── DataModule.java │ │ │ │ └── sections │ │ │ │ │ ├── WireframeRepository.java │ │ │ │ │ └── user_demo │ │ │ │ │ └── UserRepository.java │ │ │ │ └── domain │ │ │ │ ├── dashboard │ │ │ │ └── ItemMenu.java │ │ │ │ ├── user_demo │ │ │ │ └── User.java │ │ │ │ └── foundation │ │ │ │ └── gcm │ │ │ │ └── GcmNotification.java │ │ └── AndroidManifest.xml │ ├── androidTest │ │ └── java │ │ │ └── app │ │ │ ├── SuiteIntegration.java │ │ │ ├── common │ │ │ ├── BaseTest.java │ │ │ └── ViewActions.java │ │ │ └── sections │ │ │ ├── dashboard │ │ │ └── DashboardTest.java │ │ │ └── user_demo │ │ │ └── UsersTest.java │ └── test │ │ └── java │ │ └── app │ │ └── data │ │ └── foundation │ │ └── RestApiTest.java ├── proguard-rules.pro ├── google-services.json └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── README.md ├── gradlew.bat ├── gradlew └── LICENSE /start_fresh/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /start_fresh/README.md: -------------------------------------------------------------------------------- 1 | ## base app android 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuckBoilerplate/base_app_android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Apr 12 19:16:45 CEST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/drawer_item_text_icon_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/drawer_item_background_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_dashboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-svg/drawable/ic_user.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | -------------------------------------------------------------------------------- /start_fresh/strings: -------------------------------------------------------------------------------- 1 | 2 | BaseApp 3 | onSyncScreen was call for class %1$s but subclass does not override this method 4 | Errors happen ¯\\_(ツ)_/¯. Sorry for the inconvenience. 5 | Fill missing fields 6 | Loading 7 | No results 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-svg/drawable/ic_logout.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/sections/common/layout/single_fragment_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/sections/common/layout/toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | 15 | # Gradle files 16 | .gradle/ 17 | **/build/ 18 | 19 | # Local configuration file (sdk path, etc) 20 | local.properties 21 | 22 | # Proguard folder generated by Eclipse 23 | proguard/ 24 | 25 | # Log Files 26 | *.log 27 | 28 | # Android Studio 29 | .navigation/ 30 | .idea/ 31 | **/*.iml 32 | 33 | # Android Studio captures folder 34 | captures/ 35 | 36 | # .DS_Store files 37 | **/.DS_Store 38 | 39 | -------------------------------------------------------------------------------- /app/src/main/res/sections/common/layout/no_results.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-svg/drawable/ic_search.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/counter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-svg/drawable/ic_users.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/sections/user_demo/layout/users_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /start_fresh/styles: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/sections/common/layout/srv_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/app/presentation/sections/user_demo/detail/UserPresenter.java: -------------------------------------------------------------------------------- 1 | package app.presentation.sections.user_demo.detail; 2 | 3 | 4 | import javax.inject.Inject; 5 | 6 | import app.data.foundation.UIUtils; 7 | import app.data.sections.WireframeRepository; 8 | import app.domain.user_demo.User; 9 | import app.presentation.foundation.PresenterFragment; 10 | import rx.Observable; 11 | 12 | public class UserPresenter extends PresenterFragment { 13 | 14 | @Inject public UserPresenter(WireframeRepository wireframeRepository, UIUtils uiUtils) { 15 | super(wireframeRepository, uiUtils); 16 | } 17 | 18 | Observable getCurrentUser() { 19 | return wireframeRepository.getWireframeCurrentObject(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/victor/Documents/AndroidStudio/android_sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /start_fresh/Seeder: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.data.foundation.net.mock; 18 | 19 | public class Seeder { 20 | 21 | 22 | } -------------------------------------------------------------------------------- /app/src/main/java/app/data/foundation/gcm/GcmTokenReceiver.java: -------------------------------------------------------------------------------- 1 | package app.data.foundation.gcm; 2 | 3 | import javax.inject.Inject; 4 | 5 | import app.presentation.foundation.BaseApp; 6 | import rx.Observable; 7 | import rx_gcm.GcmRefreshTokenReceiver; 8 | import rx_gcm.TokenUpdate; 9 | 10 | /** 11 | * Created by victor on 12/04/16. 12 | */ 13 | public final class GcmTokenReceiver implements GcmRefreshTokenReceiver { 14 | 15 | @Override public void onTokenReceive(Observable oTokenUpdate) { 16 | oTokenUpdate.subscribe(tokenUpdate -> { 17 | BaseApp baseApp = (BaseApp) tokenUpdate.getApplication(); 18 | baseApp.getPresentationComponent().inject(this); 19 | 20 | //use repository to update token 21 | }); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/res/sections/common/layout/action_bar.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/app/data/foundation/gcm/GcmMessageReceiver.java: -------------------------------------------------------------------------------- 1 | package app.data.foundation.gcm; 2 | 3 | import app.presentation.foundation.BaseApp; 4 | import rx.Observable; 5 | import rx_gcm.GcmReceiverData; 6 | import rx_gcm.Message; 7 | 8 | /** 9 | * Created by victor on 12/04/16. 10 | */ 11 | public final class GcmMessageReceiver implements GcmReceiverData { 12 | 13 | @Override public Observable onNotification(Observable oMessage) { 14 | return oMessage.flatMap(message -> { 15 | BaseApp baseApp = (BaseApp) message.application(); 16 | baseApp.getPresentationComponent().inject(this); 17 | 18 | //use repositories to update models 19 | 20 | return Observable.just(message); 21 | }); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/app/data/foundation/net/ResponseString.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.data.foundation.net; 18 | 19 | import lombok.Data; 20 | 21 | @Data 22 | public class ResponseString { 23 | private final String message; 24 | } 25 | -------------------------------------------------------------------------------- /start_fresh/RestApi: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.data.foundation.net; 18 | 19 | /** 20 | * Definition for Retrofit of every endpoint required by the Api. 21 | */ 22 | public interface RestApi { 23 | String URL_BASE = "https://api.github.com"; 24 | } 25 | -------------------------------------------------------------------------------- /start_fresh/SuiteIntegration: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.common; 18 | 19 | import org.junit.runner.RunWith; 20 | import org.junit.runners.Suite; 21 | 22 | @RunWith(Suite.class) 23 | @Suite.SuiteClasses({ 24 | }) 25 | public class SuiteIntegration { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/java/app/domain/dashboard/ItemMenu.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.domain.dashboard; 18 | 19 | import lombok.Data; 20 | 21 | @Data 22 | public class ItemMenu { 23 | private final int id; 24 | private final String title; 25 | private final int idDrawableResource; 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/app/data/foundation/net/BadResponseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.data.foundation.net; 18 | 19 | public class BadResponseException extends RuntimeException { 20 | 21 | public BadResponseException(String detailMessage) { 22 | super(detailMessage); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/sections/dashboard/layout/drawer_counter.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | BaseApp 3 | onSyncScreen was call for class %1$s but subclass does not override this method 4 | Errors happen ¯\\_(ツ)_/¯. Sorry for the inconvenience. 5 | Fill missing fields 6 | Loading 7 | No results 8 | 9 | User 10 | Users 11 | Go to list users 12 | Find user 13 | Username on Github 14 | Logout 15 | Do you want to exit? 16 | -------------------------------------------------------------------------------- /app/src/main/res/menu/drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 17 | 18 | 23 | 24 | -------------------------------------------------------------------------------- /start_fresh/RxProviders: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 FuckBoilerplate 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package app.data.foundation.cache; 18 | 19 | import io.rx_cache.EvictProvider; 20 | import rx.Observable; 21 | 22 | /** 23 | * Providers for RxCache 24 | */ 25 | public interface RxProviders { 26 | Observable getWireframeCurrentObject(Observable oObject, EvictProvider evictProvider); 27 | } -------------------------------------------------------------------------------- /app/src/main/res/sections/user_demo/layout/user_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | 16 | 17 |