├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ ├── coffee01.jpg │ │ │ │ ├── coffee02.jpg │ │ │ │ ├── coffee03.jpg │ │ │ │ ├── coffee04.jpg │ │ │ │ ├── coffee05.jpg │ │ │ │ ├── coffee06.jpg │ │ │ │ ├── coffee07.jpg │ │ │ │ ├── coffee08.jpg │ │ │ │ ├── coffee09.jpg │ │ │ │ └── coffee10.jpg │ │ │ ├── drawable-mdpi │ │ │ │ ├── coffee01.jpg │ │ │ │ ├── coffee02.jpg │ │ │ │ ├── coffee03.jpg │ │ │ │ ├── coffee04.jpg │ │ │ │ ├── coffee05.jpg │ │ │ │ ├── coffee06.jpg │ │ │ │ ├── coffee07.jpg │ │ │ │ ├── coffee08.jpg │ │ │ │ ├── coffee09.jpg │ │ │ │ └── coffee10.jpg │ │ │ ├── drawable │ │ │ │ ├── bottom_scroll.png │ │ │ │ ├── ic_home_black_24dp.xml │ │ │ │ ├── ic_dashboard_black_24dp.xml │ │ │ │ ├── ic_favorite_red_24dp.xml │ │ │ │ ├── ic_favorite_shadow_24dp.xml │ │ │ │ ├── ic_notifications_black_24dp.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── drawable-xhdpi │ │ │ │ ├── coffee01.jpg │ │ │ │ ├── coffee02.jpg │ │ │ │ ├── coffee03.jpg │ │ │ │ ├── coffee04.jpg │ │ │ │ ├── coffee05.jpg │ │ │ │ ├── coffee06.jpg │ │ │ │ ├── coffee07.jpg │ │ │ │ ├── coffee08.jpg │ │ │ │ ├── coffee09.jpg │ │ │ │ └── coffee10.jpg │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── coffee01.jpg │ │ │ │ ├── coffee02.jpg │ │ │ │ ├── coffee03.jpg │ │ │ │ ├── coffee04.jpg │ │ │ │ ├── coffee05.jpg │ │ │ │ ├── coffee06.jpg │ │ │ │ ├── coffee07.jpg │ │ │ │ ├── coffee08.jpg │ │ │ │ ├── coffee09.jpg │ │ │ │ └── coffee10.jpg │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── coffee01.jpg │ │ │ │ ├── coffee02.jpg │ │ │ │ ├── coffee03.jpg │ │ │ │ ├── coffee04.jpg │ │ │ │ ├── coffee05.jpg │ │ │ │ ├── coffee06.jpg │ │ │ │ ├── coffee07.jpg │ │ │ │ ├── coffee08.jpg │ │ │ │ ├── coffee09.jpg │ │ │ │ └── coffee10.jpg │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── menu │ │ │ │ └── bottom_nav_menu.xml │ │ │ ├── layout │ │ │ │ ├── fragment_notifications.xml │ │ │ │ ├── fragment_dashboard.xml │ │ │ │ ├── fragment_home.xml │ │ │ │ ├── fav_item.xml │ │ │ │ ├── activity_main.xml │ │ │ │ └── item.xml │ │ │ ├── navigation │ │ │ │ └── mobile_navigation.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── ru │ │ │ │ └── embersoft │ │ │ │ └── favoritelist │ │ │ │ ├── Helpers │ │ │ │ ├── FirebaseApp.java │ │ │ │ ├── FavItem.java │ │ │ │ ├── CoffeeItem.java │ │ │ │ └── FavDB.java │ │ │ │ ├── Fragments │ │ │ │ ├── NotificationsFragment.java │ │ │ │ ├── HomeFragment.java │ │ │ │ └── DashboardFragment.java │ │ │ │ ├── Activities │ │ │ │ └── MainActivity.java │ │ │ │ └── Adapters │ │ │ │ ├── FavAdapter.java │ │ │ │ └── CoffeeAdapter.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── ru │ │ │ └── embersoft │ │ │ └── favoritelist │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── ru │ │ └── embersoft │ │ └── favoritelist │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .idea ├── runConfigurations.xml ├── misc.xml ├── gradle.xml └── codeStyles │ └── Project.xml ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='FavoriteList' 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee01.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee02.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee03.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee04.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee05.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee06.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee07.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee08.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee09.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/coffee10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-hdpi/coffee10.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee01.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee02.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee03.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee04.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee05.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee06.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee07.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee08.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee09.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/coffee10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-mdpi/coffee10.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable/bottom_scroll.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee01.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee02.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee03.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee04.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee05.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee06.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee07.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee08.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee09.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/coffee10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xhdpi/coffee10.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee01.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee02.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee03.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee04.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee05.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee06.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee07.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee08.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee09.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/coffee10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxhdpi/coffee10.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee01.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee02.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee03.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee04.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee05.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee06.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee07.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee08.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee09.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/coffee10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/drawable-xxxhdpi/coffee10.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gifffert/FavoriteList/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | FavoriteList 3 | Home 4 | Dashboard 5 | Notifications 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Feb 14 15:40:22 YAKT 2020 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-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dashboard_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/ru/embersoft/favoritelist/Helpers/FirebaseApp.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist.Helpers; 2 | 3 | import com.google.firebase.database.FirebaseDatabase; 4 | 5 | public class FirebaseApp extends android.app.Application { 6 | 7 | @Override 8 | public void onCreate() { 9 | super.onCreate(); 10 | 11 | //enable offline data on firebase database 12 | FirebaseDatabase.getInstance().setPersistenceEnabled(true); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_favorite_red_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_favorite_shadow_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/test/java/ru/embersoft/favoritelist/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 17 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/menu/bottom_nav_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/java/ru/embersoft/favoritelist/Fragments/NotificationsFragment.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist.Fragments; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.TextView; 8 | 9 | import androidx.annotation.NonNull; 10 | import androidx.fragment.app.Fragment; 11 | 12 | import ru.embersoft.favoritelist.R; 13 | 14 | public class NotificationsFragment extends Fragment { 15 | 16 | 17 | public View onCreateView(@NonNull LayoutInflater inflater, 18 | ViewGroup container, Bundle savedInstanceState) { 19 | View root = inflater.inflate(R.layout.fragment_notifications, container, false); 20 | final TextView textView = root.findViewById(R.id.text_notifications); 21 | return root; 22 | } 23 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_notifications.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 19 | -------------------------------------------------------------------------------- /app/src/androidTest/java/ru/embersoft/favoritelist/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | 25 | assertEquals("ru.embersoft.favoritelist", appContext.getPackageName()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/ru/embersoft/favoritelist/Helpers/FavItem.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist.Helpers; 2 | 3 | public class FavItem { 4 | 5 | private String item_title; 6 | private String key_id; 7 | private int item_image; 8 | 9 | public FavItem() { 10 | } 11 | 12 | public FavItem(String item_title, String key_id, int item_image) { 13 | this.item_title = item_title; 14 | this.key_id = key_id; 15 | this.item_image = item_image; 16 | } 17 | 18 | public String getItem_title() { 19 | return item_title; 20 | } 21 | 22 | public void setItem_title(String item_title) { 23 | this.item_title = item_title; 24 | } 25 | 26 | public String getKey_id() { 27 | return key_id; 28 | } 29 | 30 | public void setKey_id(String key_id) { 31 | this.key_id = key_id; 32 | } 33 | 34 | public int getItem_image() { 35 | return item_image; 36 | } 37 | 38 | public void setItem_image(int item_image) { 39 | this.item_image = item_image; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app's APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/navigation/mobile_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 19 | 20 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_dashboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 12 | 18 | 19 | 22 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 12 | 19 | 20 | 23 | 24 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/java/ru/embersoft/favoritelist/Helpers/CoffeeItem.java: -------------------------------------------------------------------------------- 1 | package ru.embersoft.favoritelist.Helpers; 2 | 3 | public class CoffeeItem { 4 | 5 | private int imageResourse; 6 | private String title; 7 | private String key_id; 8 | private String favStatus; 9 | 10 | public CoffeeItem() { 11 | } 12 | 13 | public CoffeeItem(int imageResourse, String title, String key_id, String favStatus) { 14 | this.imageResourse = imageResourse; 15 | this.title = title; 16 | this.key_id = key_id; 17 | this.favStatus = favStatus; 18 | } 19 | 20 | public int getImageResourse() { 21 | return imageResourse; 22 | } 23 | 24 | public void setImageResourse(int imageResourse) { 25 | this.imageResourse = imageResourse; 26 | } 27 | 28 | public String getTitle() { 29 | return title; 30 | } 31 | 32 | public void setTitle(String title) { 33 | this.title = title; 34 | } 35 | 36 | public String getKey_id() { 37 | return key_id; 38 | } 39 | 40 | public void setKey_id(String key_id) { 41 | this.key_id = key_id; 42 | } 43 | 44 | public String getFavStatus() { 45 | return favStatus; 46 | } 47 | 48 | public void setFavStatus(String favStatus) { 49 | this.favStatus = favStatus; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fav_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 16 | 17 | 25 | 26 |