├── .gitignore ├── .idea ├── .gitignore ├── .name ├── compiler.xml ├── deploymentTargetDropDown.xml ├── gradle.xml ├── jarRepositories.xml ├── misc.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── google-services.json ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── zainul │ │ └── medichapp │ │ └── ExampleInstrumentedTest.kt │ ├── debug │ ├── dokter1-playstore.png │ ├── gelembung-playstore.png │ ├── gelembung1-playstore.png │ ├── logo-playstore.png │ └── res │ │ ├── mipmap-anydpi-v26 │ │ ├── dokter1.xml │ │ ├── dokter1_round.xml │ │ ├── logo.xml │ │ └── logo_round.xml │ │ ├── mipmap-hdpi │ │ ├── dokter1.png │ │ ├── dokter1_foreground.png │ │ ├── dokter1_round.png │ │ ├── logo.png │ │ ├── logo_foreground.png │ │ └── logo_round.png │ │ ├── mipmap-mdpi │ │ ├── dokter1.png │ │ ├── dokter1_foreground.png │ │ ├── dokter1_round.png │ │ ├── logo.png │ │ ├── logo_foreground.png │ │ └── logo_round.png │ │ ├── mipmap-xhdpi │ │ ├── dokter1.png │ │ ├── dokter1_foreground.png │ │ ├── dokter1_round.png │ │ ├── logo.png │ │ ├── logo_foreground.png │ │ └── logo_round.png │ │ ├── mipmap-xxhdpi │ │ ├── dokter1.png │ │ ├── dokter1_foreground.png │ │ ├── dokter1_round.png │ │ ├── logo.png │ │ ├── logo_foreground.png │ │ └── logo_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── dokter1.png │ │ ├── dokter1_foreground.png │ │ ├── dokter1_round.png │ │ ├── logo.png │ │ ├── logo_foreground.png │ │ └── logo_round.png │ │ └── values │ │ ├── dokter1_background.xml │ │ ├── gelembung1_background.xml │ │ ├── gelembung_background.xml │ │ └── logo_background.xml │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── zainul │ │ │ └── medichapp │ │ │ ├── DetailObatFragment.kt │ │ │ ├── HomePage.kt │ │ │ ├── LocationRead.kt │ │ │ ├── LoginActivity.kt │ │ │ ├── LoginAfterLogout.kt │ │ │ ├── MainActivity.kt │ │ │ ├── RegisterAvtivity.kt │ │ │ ├── SplashFragment.kt │ │ │ ├── adapter │ │ │ └── ViewPagerAdapter.kt │ │ │ ├── dokter │ │ │ └── DetailDokter.kt │ │ │ ├── doktermenus │ │ │ └── dokter.kt │ │ │ ├── donasi │ │ │ ├── DonasiSucces.kt │ │ │ ├── PayDonasi.kt │ │ │ └── PickNominalSucces.kt │ │ │ ├── gelembung │ │ │ ├── Activitymaps.kt │ │ │ ├── AturJadwal.kt │ │ │ ├── CariFaskesehatan.kt │ │ │ ├── Carifaskes.kt │ │ │ ├── Checkout.kt │ │ │ ├── LanjutBayar.kt │ │ │ └── TxSucces.kt │ │ │ ├── mainhome │ │ │ ├── Home.kt │ │ │ └── ui │ │ │ │ ├── dokter │ │ │ │ ├── DokterFragment.kt │ │ │ │ └── DokterViewModel.kt │ │ │ │ ├── donasi │ │ │ │ ├── DonasiFragment.kt │ │ │ │ └── DonasiViewModel.kt │ │ │ │ ├── home │ │ │ │ ├── HomeFragment.kt │ │ │ │ └── HomeViewModel.kt │ │ │ │ ├── obat │ │ │ │ ├── ObatFragment.kt │ │ │ │ └── ObatViewModel.kt │ │ │ │ └── personal │ │ │ │ ├── PersonalFragment.kt │ │ │ │ └── PersonalViewModel.kt │ │ │ ├── obat │ │ │ ├── Chechout.kt │ │ │ ├── DetailObat.kt │ │ │ ├── JenisObat.kt │ │ │ ├── NextPayment.kt │ │ │ └── Txberhasil.kt │ │ │ └── onboarding │ │ │ ├── ViewPagerAdapter.kt │ │ │ ├── ViewPagerFragment.kt │ │ │ └── screens │ │ │ ├── FirstScreen.kt │ │ │ ├── SecondScreen.kt │ │ │ └── ThirdScreen.kt │ └── res │ │ ├── drawable-v24 │ │ ├── apotik1.png │ │ ├── apotik2.png │ │ ├── apotik3.png │ │ ├── apotik4.png │ │ ├── backlokasi.png │ │ ├── backroundpeyment.png │ │ ├── dokter1.png │ │ ├── dokter2.png │ │ ├── dokter3.png │ │ ├── dokter4.png │ │ ├── dr1.png │ │ ├── dr2.png │ │ ├── dr3.png │ │ ├── dr4.png │ │ ├── gelembung1.png │ │ ├── ic_launcher_foreground.xml │ │ ├── lapisan.png │ │ ├── rs01.png │ │ ├── rs1.png │ │ ├── rs2.png │ │ ├── rs3.png │ │ └── rs4.png │ │ ├── drawable │ │ ├── .png │ │ ├── amoxilin.png │ │ ├── apotiksearch.xml │ │ ├── aturjadwal.png │ │ ├── aturwaktu2.png │ │ ├── back.png │ │ ├── back2.png │ │ ├── backabu.xml │ │ ├── backdetailobat.png │ │ ├── backhitam.png │ │ ├── backpinkicons.png │ │ ├── backputih.png │ │ ├── backputihrs.png │ │ ├── backroundpink.png │ │ ├── backroundputih.png │ │ ├── backrs.png │ │ ├── backrsdetail.png │ │ ├── bag.png │ │ ├── bannerbawah.png │ │ ├── bannerbawah1.png │ │ ├── beliobat.png │ │ ├── btndonasi.png │ │ ├── btnlanjutbayar.png │ │ ├── btnregis.png │ │ ├── butonbayar.png │ │ ├── butonlogin.png │ │ ├── butonpesanskrng.png │ │ ├── butonpink.png │ │ ├── butonregis.png │ │ ├── butonrincian.xml │ │ ├── butonwa.png │ │ ├── buttonchat.png │ │ ├── buttonchat2.png │ │ ├── buttonchat3.png │ │ ├── caridokter.png │ │ ├── carifaskes.png │ │ ├── cekdarah.png │ │ ├── daftar.png │ │ ├── detaillanjutbayar.png │ │ ├── detailobatbawah.png │ │ ├── detailpayobat.png │ │ ├── dokter_icon.png │ │ ├── donasi.png │ │ ├── donasi_icon.png │ │ ├── dralif.png │ │ ├── edit.png │ │ ├── garis.png │ │ ├── gelembung.xml │ │ ├── gelembung2.xml │ │ ├── gelembung3.xml │ │ ├── gelembung4.xml │ │ ├── gelembung5.xml │ │ ├── graduation.png │ │ ├── harga.png │ │ ├── home_icon.png │ │ ├── hubungkan.png │ │ ├── hubungkanasuransi.png │ │ ├── ic_dashboard_black_24dp.xml │ │ ├── ic_home_black_24dp.xml │ │ ├── ic_launcher_background.xml │ │ ├── ic_notifications_black_24dp.xml │ │ ├── ic_splash_screen.xml │ │ ├── icons_money.png │ │ ├── imageplaceholder.png │ │ ├── jam.xml │ │ ├── jempolicons.png │ │ ├── jumat.png │ │ ├── kamis.png │ │ ├── kembaliberanda.png │ │ ├── keranjang_icons.png │ │ ├── kolompass.png │ │ ├── kolomregis.png │ │ ├── konsult.png │ │ ├── kotakpink.png │ │ ├── lanjtbayar.png │ │ ├── lanjutbayar.png │ │ ├── layananygdibook.png │ │ ├── lihatriwayat.png │ │ ├── like.png │ │ ├── login_begraund.png │ │ ├── logingoogle.png │ │ ├── logo2.png │ │ ├── logout.png │ │ ├── lokasi.xml │ │ ├── lokasi_icons.png │ │ ├── lokasiicons.png │ │ ├── loveicons.png │ │ ├── maps.png │ │ ├── masukannominal.png │ │ ├── metodepembayaran.png │ │ ├── mtpick.gif │ │ ├── no19.png │ │ ├── nominal1.png │ │ ├── nominal2.png │ │ ├── nominal3.png │ │ ├── notif_icon.png │ │ ├── obat_icon.png │ │ ├── obatamoxilin.png │ │ ├── onboard1.png │ │ ├── onboard2.png │ │ ├── onboard3.png │ │ ├── orgsakit1.png │ │ ├── orgsakit2.png │ │ ├── orgsakit3.png │ │ ├── paracetamol.png │ │ ├── personal_icon.png │ │ ├── personalmenu.png │ │ ├── pick10k.png │ │ ├── pilihlayanan.png │ │ ├── pilihlokasi.png │ │ ├── profile.png │ │ ├── rab.png │ │ ├── rating.xml │ │ ├── rumahsakit.png │ │ ├── sabtu.png │ │ ├── sanmol.png │ │ ├── searchdokteranak.xml │ │ ├── searchobat.png │ │ ├── searchrs.xml │ │ ├── searchrumahsakit.xml │ │ ├── sendungu.xml │ │ ├── seracplihrs.png │ │ ├── splash.xml │ │ ├── tempra.png │ │ ├── tensi.png │ │ ├── tesjantung.png │ │ ├── total.png │ │ ├── tujuan.png │ │ ├── txberhasil.png │ │ ├── under_construction.gif │ │ ├── vektoramal.png │ │ ├── vektoremail.png │ │ ├── vektorview.png │ │ ├── waktu1.png │ │ ├── waktu2.png │ │ └── waktu3.png │ │ ├── layout │ │ ├── activity_activitymaps.xml │ │ ├── activity_atur_jadwal.xml │ │ ├── activity_cari_faskesehatan.xml │ │ ├── activity_chechout.xml │ │ ├── activity_checkout.xml │ │ ├── activity_detail_dokter.xml │ │ ├── activity_detail_obat.xml │ │ ├── activity_dokter.xml │ │ ├── activity_donasi_succes.xml │ │ ├── activity_home.xml │ │ ├── activity_home_page.xml │ │ ├── activity_jenis_obat.xml │ │ ├── activity_lanjut_bayar.xml │ │ ├── activity_login.xml │ │ ├── activity_main.xml │ │ ├── activity_next_payment.xml │ │ ├── activity_pay_donasi.xml │ │ ├── activity_pick_nominal_succes.xml │ │ ├── activity_register_avtivity.xml │ │ ├── activity_tx_succes.xml │ │ ├── activity_txberhasil.xml │ │ ├── custom_action_bar_layout.xml │ │ ├── fragment_carifaskes.xml │ │ ├── fragment_detail_dokter.xml │ │ ├── fragment_detail_obat.xml │ │ ├── fragment_dokter.xml │ │ ├── fragment_donasi.xml │ │ ├── fragment_first_screen.xml │ │ ├── fragment_home.xml │ │ ├── fragment_location.xml │ │ ├── fragment_obat.xml │ │ ├── fragment_obatold.xml │ │ ├── fragment_personal.xml │ │ ├── fragment_register.xml │ │ ├── fragment_second_screen.xml │ │ ├── fragment_splash.xml │ │ ├── fragment_third_screen.xml │ │ ├── fragment_view_pager.xml │ │ └── percobaan.xml │ │ ├── menu │ │ ├── bottom_nav_menu.xml │ │ ├── menu_home.xml │ │ └── menu_home1.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── navigation │ │ ├── mobile_navigation.xml │ │ └── my_nav.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── zainul │ └── medichapp │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.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 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | Medich App -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/deploymentTargetDropDown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | 34 | 35 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Medich-App 2 | Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems. Medich has a Donation feature that will be very useful for the Community 3 | 4 | 5 | # Application Overview 6 | ![readme image](https://user-images.githubusercontent.com/92244055/201970949-afd0c996-932d-4e88-a53a-42344dac4b55.png) 7 | 8 | # Tools 9 | - Android Studio 10 | - Firebase ( Autenthication ) 11 | - 100% Kotlin 12 | - Spotify ( For enjoy ) 13 | 14 | # How to Use 15 | - Copy from code clone in HTTPS 16 | - Go to Android Studio 17 | - Clone from Git 18 | - Paste Link 19 | - Done 20 | 21 | # Whats is needed 22 | - Gradle 7.4 Version ( Up To Date ) 23 | - Firebase Auth 24 | - Api 29 Min 25 | - SDK 26 | 27 | # Includes 28 | - Login Firebase Auth 29 | - Geo location 30 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'kotlin-android' 3 | apply plugin: 'kotlin-android-extensions' 4 | apply plugin: 'com.google.gms.google-services' 5 | apply plugin: 'org.jetbrains.kotlin.android.extensions' 6 | apply plugin: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' 7 | 8 | android { 9 | compileSdk 33 10 | 11 | defaultConfig { 12 | applicationId "com.zainul.medichapp" 13 | minSdkVersion 29 14 | targetSdkVersion 33 15 | versionCode 1 16 | versionName "1.0" 17 | 18 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 19 | 20 | } 21 | buildTypes { 22 | release { 23 | minifyEnabled false 24 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 25 | } 26 | } 27 | buildFeatures{ 28 | viewBinding true 29 | } 30 | compileOptions { 31 | sourceCompatibility JavaVersion.VERSION_1_8 32 | targetCompatibility JavaVersion.VERSION_1_8 33 | } 34 | kotlinOptions { 35 | jvmTarget = '1.8' 36 | } 37 | } 38 | 39 | 40 | dependencies { 41 | implementation fileTree(dir: "libs", include: ["*.jar"]) 42 | implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.21' 43 | implementation 'androidx.core:core-ktx:1.9.0' 44 | implementation 'androidx.appcompat:appcompat:1.5.1' 45 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4' 46 | implementation 'androidx.legacy:legacy-support-v4:1.0.0' 47 | implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3' 48 | implementation 'androidx.navigation:navigation-ui-ktx:2.5.3' 49 | implementation 'androidx.viewpager2:viewpager2:1.0.0' 50 | implementation 'com.google.android.material:material:1.4.0' 51 | implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' 52 | implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' 53 | implementation 'com.google.firebase:firebase-storage-ktx:20.1.0' 54 | implementation 'com.google.android.gms:play-services-maps:18.1.0' 55 | testImplementation 'junit:junit:4.13.2' 56 | androidTestImplementation 'androidx.test.ext:junit:1.1.4' 57 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' 58 | 59 | 60 | implementation platform('com.google.firebase:firebase-bom:31.0.3') 61 | implementation 'com.google.firebase:firebase-analytics-ktx' 62 | implementation 'com.google.firebase:firebase-auth-ktx:21.1.0' 63 | 64 | implementation 'com.google.android.gms:play-services-location:21.0.1' 65 | implementation 'com.google.maps.android:android-maps-utils:2.3.0' 66 | implementation 'com.google.maps.android:maps-utils-ktx:3.4.0' 67 | } 68 | -------------------------------------------------------------------------------- /app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "816562130259", 4 | "project_id": "medich-app", 5 | "storage_bucket": "medich-app.appspot.com" 6 | }, 7 | "client": [ 8 | { 9 | "client_info": { 10 | "mobilesdk_app_id": "1:816562130259:android:585832961c0c7dcf97a5a6", 11 | "android_client_info": { 12 | "package_name": "com.zainul.medichapp" 13 | } 14 | }, 15 | "oauth_client": [ 16 | { 17 | "client_id": "816562130259-b5391rbc2oqess7hu0ha2ps1gr2ut4ht.apps.googleusercontent.com", 18 | "client_type": 3 19 | } 20 | ], 21 | "api_key": [ 22 | { 23 | "current_key": "AIzaSyBLP4qySffytQ1ZDb-w_88Pe54TFAguu3g" 24 | } 25 | ], 26 | "services": { 27 | "appinvite_service": { 28 | "other_platform_oauth_client": [ 29 | { 30 | "client_id": "816562130259-b5391rbc2oqess7hu0ha2ps1gr2ut4ht.apps.googleusercontent.com", 31 | "client_type": 3 32 | } 33 | ] 34 | } 35 | } 36 | } 37 | ], 38 | "configuration_version": "1" 39 | } -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /app/src/androidTest/java/com/zainul/medichapp/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.zainul.medichapp", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/debug/dokter1-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/dokter1-playstore.png -------------------------------------------------------------------------------- /app/src/debug/gelembung-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/gelembung-playstore.png -------------------------------------------------------------------------------- /app/src/debug/gelembung1-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/gelembung1-playstore.png -------------------------------------------------------------------------------- /app/src/debug/logo-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/logo-playstore.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-anydpi-v26/dokter1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-anydpi-v26/dokter1_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-anydpi-v26/logo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-anydpi-v26/logo_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/dokter1.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/dokter1_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/dokter1_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/dokter1_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/dokter1_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/logo.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/logo_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/logo_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/logo_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-hdpi/logo_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/dokter1.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/dokter1_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/dokter1_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/dokter1_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/dokter1_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/logo.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/logo_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/logo_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/logo_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-mdpi/logo_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/dokter1.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/dokter1_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/dokter1_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/dokter1_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/dokter1_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/logo.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/logo_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/logo_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/logo_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xhdpi/logo_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/dokter1.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/dokter1_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/dokter1_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/dokter1_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/dokter1_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/logo.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/logo_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/logo_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/logo_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxhdpi/logo_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/dokter1.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/dokter1_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/dokter1_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/dokter1_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/dokter1_round.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/logo.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/logo_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/logo_foreground.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/logo_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/debug/res/mipmap-xxxhdpi/logo_round.png -------------------------------------------------------------------------------- /app/src/debug/res/values/dokter1_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | -------------------------------------------------------------------------------- /app/src/debug/res/values/gelembung1_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | -------------------------------------------------------------------------------- /app/src/debug/res/values/gelembung_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | -------------------------------------------------------------------------------- /app/src/debug/res/values/logo_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #B54A97 4 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/DetailObatFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.os.Bundle 4 | import androidx.fragment.app.Fragment 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | 9 | // TODO: Rename parameter arguments, choose names that match 10 | // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER 11 | private const val ARG_PARAM1 = "param1" 12 | private const val ARG_PARAM2 = "param2" 13 | 14 | /** 15 | * A simple [Fragment] subclass. 16 | * Use the [DetailObatFragment.newInstance] factory method to 17 | * create an instance of this fragment. 18 | */ 19 | class DetailObatFragment : Fragment() { 20 | // TODO: Rename and change types of parameters 21 | private var param1: String? = null 22 | private var param2: String? = null 23 | 24 | override fun onCreate(savedInstanceState: Bundle?) { 25 | super.onCreate(savedInstanceState) 26 | arguments?.let { 27 | param1 = it.getString(ARG_PARAM1) 28 | param2 = it.getString(ARG_PARAM2) 29 | } 30 | } 31 | 32 | override fun onCreateView( 33 | inflater: LayoutInflater, container: ViewGroup?, 34 | savedInstanceState: Bundle? 35 | ): View? { 36 | // Inflate the layout for this fragment 37 | return inflater.inflate(R.layout.fragment_detail_obat, container, false) 38 | } 39 | 40 | companion object { 41 | /** 42 | * Use this factory method to create a new instance of 43 | * this fragment using the provided parameters. 44 | * 45 | * @param param1 Parameter 1. 46 | * @param param2 Parameter 2. 47 | * @return A new instance of fragment DetailObatFragment. 48 | */ 49 | // TODO: Rename and change types and number of parameters 50 | @JvmStatic 51 | fun newInstance(param1: String, param2: String) = 52 | DetailObatFragment().apply { 53 | arguments = Bundle().apply { 54 | putString(ARG_PARAM1, param1) 55 | putString(ARG_PARAM2, param2) 56 | } 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/HomePage.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.os.Bundle 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import androidx.fragment.app.Fragment 8 | import com.zainul.medichapp.databinding.ActivityHomePageBinding 9 | 10 | 11 | 12 | class HomePage : Fragment(R.layout.activity_home_page) { 13 | private var _binding: ActivityHomePageBinding? = null 14 | private val binding get() = _binding!! 15 | 16 | override fun onCreateView( 17 | inflater: LayoutInflater, container: ViewGroup?, 18 | savedInstanceState: Bundle? 19 | ): View { 20 | 21 | _binding = ActivityHomePageBinding.inflate(inflater, container, false) 22 | return binding.root 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/LoginActivity.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.os.Bundle 4 | import android.util.Patterns 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import android.widget.Toast 9 | import androidx.fragment.app.Fragment 10 | import androidx.navigation.fragment.findNavController 11 | import com.google.firebase.auth.FirebaseAuth 12 | import com.zainul.medichapp.databinding.ActivityLoginBinding 13 | import kotlinx.android.synthetic.main.activity_login.view.* 14 | 15 | class LoginActivity : Fragment(R.layout.activity_login) { 16 | private var _binding: ActivityLoginBinding? = null 17 | private val binding get() = _binding!! 18 | lateinit var auth: FirebaseAuth 19 | 20 | override fun onCreateView( 21 | inflater: LayoutInflater, container: ViewGroup?, 22 | savedInstanceState: Bundle? 23 | ): View { 24 | 25 | _binding = ActivityLoginBinding.inflate(inflater, container, false) 26 | return binding.root 27 | } 28 | 29 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 30 | super.onViewCreated(view, savedInstanceState) 31 | 32 | 33 | auth = FirebaseAuth.getInstance() 34 | 35 | view.bawahDaftar.setOnClickListener { 36 | findNavController().navigate(R.id.action_Daftar_to_Daftaractivity) 37 | } 38 | 39 | binding.btnLogin.setOnClickListener { 40 | val email = binding.editEmail.text.toString() 41 | val password = binding.editPasword.text.toString() 42 | 43 | //Validasi email 44 | if (email.isEmpty()) { 45 | binding.editEmail.error = "Email Harus Diisi" 46 | binding.editEmail.requestFocus() 47 | return@setOnClickListener 48 | } 49 | 50 | //Validasi email tidak sesuai 51 | if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) { 52 | binding.editPasword.error = "Email Tidak Valid" 53 | binding.editPasword.requestFocus() 54 | return@setOnClickListener 55 | } 56 | 57 | //Validasi password 58 | if (password.isEmpty()) { 59 | binding.editPasword.error = "Password Harus Diisi" 60 | binding.editPasword.requestFocus() 61 | return@setOnClickListener 62 | } 63 | LoginFirebase(email,password) 64 | } 65 | } 66 | 67 | private fun LoginFirebase(email: String, password: String) { 68 | auth.signInWithEmailAndPassword(email, password) 69 | .addOnCompleteListener(requireActivity()) { task -> 70 | if (task.isSuccessful) { 71 | Toast.makeText(activity, "Selamat datang $email", Toast.LENGTH_SHORT).show() 72 | findNavController().navigate(R.id.action_login_to_location) 73 | } else { 74 | Toast.makeText(activity, "${task.exception?.message}", Toast.LENGTH_SHORT).show() 75 | } 76 | } 77 | } 78 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/LoginAfterLogout.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.os.Bundle 4 | import android.util.Patterns 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import android.widget.Toast 9 | import androidx.fragment.app.Fragment 10 | import androidx.navigation.fragment.findNavController 11 | import com.google.firebase.auth.FirebaseAuth 12 | import com.zainul.medichapp.databinding.ActivityLoginBinding 13 | import kotlinx.android.synthetic.main.activity_login.view.* 14 | 15 | class LoginAfterLogout : Fragment(R.layout.activity_login) { 16 | private var _binding: ActivityLoginBinding? = null 17 | private val binding get() = _binding!! 18 | lateinit var auth: FirebaseAuth 19 | 20 | override fun onCreateView( 21 | inflater: LayoutInflater, container: ViewGroup?, 22 | savedInstanceState: Bundle? 23 | ): View { 24 | 25 | _binding = ActivityLoginBinding.inflate(inflater, container, false) 26 | return binding.root 27 | } 28 | 29 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 30 | super.onViewCreated(view, savedInstanceState) 31 | 32 | 33 | auth = FirebaseAuth.getInstance() 34 | 35 | view.bawahDaftar.setOnClickListener { 36 | findNavController().navigate(R.id.action_Daftar_to_Daftaractivity) 37 | } 38 | 39 | binding.btnLogin.setOnClickListener { 40 | val email = binding.editEmail.text.toString() 41 | val password = binding.editPasword.text.toString() 42 | 43 | //Validasi email 44 | if (email.isEmpty()) { 45 | binding.editEmail.error = "Email Harus Diisi" 46 | binding.editEmail.requestFocus() 47 | return@setOnClickListener 48 | } 49 | 50 | //Validasi email tidak sesuai 51 | if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) { 52 | binding.editPasword.error = "Email Tidak Valid" 53 | binding.editPasword.requestFocus() 54 | return@setOnClickListener 55 | } 56 | 57 | //Validasi password 58 | if (password.isEmpty()) { 59 | binding.editPasword.error = "Password Harus Diisi" 60 | binding.editPasword.requestFocus() 61 | return@setOnClickListener 62 | } 63 | LoginFirebase(email,password) 64 | } 65 | } 66 | 67 | private fun LoginFirebase(email: String, password: String) { 68 | auth.signInWithEmailAndPassword(email, password) 69 | .addOnCompleteListener(requireActivity()) { task -> 70 | if (task.isSuccessful) { 71 | Toast.makeText(activity, "Selamat datang $email", Toast.LENGTH_SHORT).show() 72 | findNavController().navigate(R.id.action_login_to_location) 73 | } else { 74 | Toast.makeText(activity, "${task.exception?.message}", Toast.LENGTH_SHORT).show() 75 | } 76 | } 77 | } 78 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.os.Bundle 4 | import androidx.appcompat.app.AppCompatActivity 5 | 6 | class MainActivity : AppCompatActivity() { 7 | 8 | override fun onCreate(savedInstanceState: Bundle?) { 9 | super.onCreate(savedInstanceState) 10 | setContentView(R.layout.activity_main) 11 | 12 | supportActionBar?.hide() 13 | } 14 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/RegisterAvtivity.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | import android.os.Bundle 3 | import android.util.Patterns 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import android.widget.Toast 8 | import androidx.fragment.app.Fragment 9 | import androidx.navigation.fragment.findNavController 10 | import com.google.firebase.auth.FirebaseAuth 11 | import com.zainul.medichapp.databinding.ActivityRegisterAvtivityBinding 12 | import kotlinx.android.synthetic.main.activity_register_avtivity.view.* 13 | 14 | class RegisterAvtivity : Fragment(R.layout.activity_register_avtivity) { 15 | 16 | private var _binding: ActivityRegisterAvtivityBinding? = null 17 | private val binding get() = _binding!! 18 | lateinit var auth: FirebaseAuth 19 | 20 | override fun onCreateView( 21 | inflater: LayoutInflater, container: ViewGroup?, 22 | savedInstanceState: Bundle? 23 | ): View { 24 | 25 | _binding = ActivityRegisterAvtivityBinding.inflate(inflater, container, false) 26 | return binding.root 27 | } 28 | 29 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 30 | super.onViewCreated(view, savedInstanceState) 31 | 32 | 33 | auth = FirebaseAuth.getInstance() 34 | 35 | view.bawahMasuk.setOnClickListener { 36 | findNavController().navigate(R.id.action_masuk_to_loginactivity) 37 | } 38 | 39 | binding.btnRegis.setOnClickListener { 40 | val email = binding.editEmail.text.toString() 41 | val password = binding.editPasword.text.toString() 42 | 43 | //Validasi email 44 | if (email.isEmpty()) { 45 | binding.editEmail.error = "Email Harus Diisi" 46 | binding.editEmail.requestFocus() 47 | return@setOnClickListener 48 | } 49 | 50 | //Validasi email tidak sesuai 51 | if (!Patterns.EMAIL_ADDRESS.matcher(email).matches()) { 52 | binding.editEmail.error = "Email Tidak Valid" 53 | binding.editEmail.requestFocus() 54 | return@setOnClickListener 55 | } 56 | 57 | //Validasi password 58 | if (password.isEmpty()) { 59 | binding.editPasword.error = "Password Harus Diisi" 60 | binding.editPasword.requestFocus() 61 | return@setOnClickListener 62 | } 63 | 64 | //Validasi panjang password 65 | if (password.length < 6) { 66 | binding.editPasword.error = "Password Minimal 6 Karakter" 67 | binding.editPasword.requestFocus() 68 | return@setOnClickListener 69 | } 70 | 71 | RegisterFirebase(email, password) 72 | } 73 | } 74 | 75 | private fun RegisterFirebase(email: String, password: String) { 76 | auth.createUserWithEmailAndPassword(email, password) 77 | .addOnCompleteListener(requireActivity()) { task -> 78 | if (task.isSuccessful) { 79 | Toast.makeText(activity,"Register Berhasil" ,Toast.LENGTH_SHORT).show(); 80 | findNavController().navigate(R.id.action_masuk_to_loginactivity) 81 | } else { 82 | Toast.makeText(activity, "${task.exception?.message}", Toast.LENGTH_SHORT).show() 83 | } 84 | } 85 | } 86 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/SplashFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import android.content.Context 4 | import android.os.Bundle 5 | import android.os.Handler 6 | import android.view.LayoutInflater 7 | import android.view.View 8 | import android.view.ViewGroup 9 | import androidx.fragment.app.Fragment 10 | import androidx.navigation.fragment.findNavController 11 | 12 | 13 | class SplashFragment : Fragment() { 14 | 15 | override fun onCreateView( 16 | inflater: LayoutInflater, container: ViewGroup?, 17 | savedInstanceState: Bundle? 18 | ): View? { 19 | 20 | Handler().postDelayed({ 21 | if (onBoardingFinished()) { 22 | findNavController().navigate(R.id.action_splashFragment_to_homeFragment) 23 | } else { 24 | findNavController().navigate(R.id.action_splashFragment_to_viewPagerFragment) 25 | } 26 | }, 3000) 27 | // Inflate the layout for this fragment 28 | return inflater.inflate(R.layout.fragment_splash, container, false) 29 | } 30 | 31 | private fun onBoardingFinished(): Boolean { 32 | val sharedPref = requireActivity().getSharedPreferences("onBoarding", Context.MODE_PRIVATE) 33 | return sharedPref.getBoolean("Finished", false) 34 | } 35 | override fun onAttach(context: Context) { 36 | super.onAttach(context) 37 | 38 | 39 | } 40 | 41 | override fun onDetach() { 42 | super.onDetach() 43 | } 44 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/adapter/ViewPagerAdapter.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.adapter 2 | 3 | import androidx.fragment.app.Fragment 4 | import androidx.fragment.app.FragmentManager 5 | import androidx.fragment.app.FragmentPagerAdapter 6 | 7 | class ViewPagerAdapter(supportFragmentManager: FragmentManager) : 8 | FragmentPagerAdapter(supportFragmentManager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) { 9 | 10 | private val FragmentList = ArrayList() 11 | private val FragmentTitleList = ArrayList() 12 | 13 | override fun getCount(): Int { 14 | return FragmentList.size 15 | } 16 | 17 | override fun getItem(position: Int): Fragment { 18 | return FragmentList[position] 19 | } 20 | 21 | override fun getPageTitle(position: Int): CharSequence? { 22 | return FragmentTitleList[position] 23 | } 24 | 25 | fun addFragment(fragment: Fragment, title: String){ 26 | FragmentList.add(fragment) 27 | FragmentTitleList.add(title) 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/dokter/DetailDokter.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.dokter 2 | 3 | import android.os.Bundle 4 | import androidx.appcompat.app.AppCompatActivity 5 | import com.zainul.medichapp.databinding.ActivityDetailDokterBinding 6 | import kotlinx.android.synthetic.main.activity_detail_dokter.* 7 | 8 | class DetailDokter : AppCompatActivity() { 9 | private lateinit var binding: ActivityDetailDokterBinding 10 | 11 | override fun onCreate(savedInstanceState: Bundle?) { 12 | super.onCreate(savedInstanceState) 13 | binding = ActivityDetailDokterBinding.inflate(layoutInflater) 14 | 15 | //memanggil layout dengan menggunakan binding.root 16 | setContentView(binding.root) 17 | 18 | supportActionBar?.hide() 19 | 20 | } 21 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/doktermenus/dokter.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.doktermenus 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityDokterBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_dokter.* 9 | 10 | class dokter : AppCompatActivity() { 11 | 12 | private lateinit var binding: ActivityDokterBinding 13 | 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | super.onCreate(savedInstanceState) 16 | binding = ActivityDokterBinding.inflate(layoutInflater) 17 | 18 | //memanggil layout dengan menggunakan binding.root 19 | setContentView(binding.root) 20 | 21 | supportActionBar?.hide() 22 | 23 | backabu.setOnClickListener { 24 | val intent = Intent(this, Home::class.java) 25 | startActivity(intent) 26 | 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/donasi/DonasiSucces.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.donasi 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityDonasiSuccesBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_donasi_succes.* 9 | 10 | class DonasiSucces : AppCompatActivity() { 11 | private lateinit var binding: ActivityDonasiSuccesBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityDonasiSuccesBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | kembali3.setOnClickListener { 23 | val intent = Intent(this, PayDonasi::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | backberanda.setOnClickListener { 28 | val intent = Intent(this, Home::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/donasi/PayDonasi.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.donasi 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityPayDonasiBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_pay_donasi.* 9 | 10 | class PayDonasi : AppCompatActivity() { 11 | private lateinit var binding: ActivityPayDonasiBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityPayDonasiBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | backk.setOnClickListener { 23 | val intent = Intent(this, Home::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | nominal.setOnClickListener { 28 | val intent = Intent(this, PickNominalSucces::class.java) 29 | startActivity(intent) 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/donasi/PickNominalSucces.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.donasi 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityPickNominalSuccesBinding 7 | import kotlinx.android.synthetic.main.activity_pick_nominal_succes.* 8 | class PickNominalSucces : AppCompatActivity() { 9 | private lateinit var binding: ActivityPickNominalSuccesBinding 10 | 11 | override fun onCreate(savedInstanceState: Bundle?) { 12 | super.onCreate(savedInstanceState) 13 | binding = ActivityPickNominalSuccesBinding.inflate(layoutInflater) 14 | 15 | //memanggil layout dengan menggunakan binding.root 16 | setContentView(binding.root) 17 | 18 | supportActionBar?.hide() 19 | 20 | btndonasi.setOnClickListener { 21 | val intent = Intent(this, DonasiSucces::class.java) 22 | startActivity(intent) 23 | 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/Activitymaps.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.os.Bundle 4 | import androidx.appcompat.app.AppCompatActivity 5 | import com.zainul.medichapp.R 6 | 7 | 8 | class Activitymaps : AppCompatActivity() { 9 | override fun onCreate(savedInstanceState: Bundle?) { 10 | super.onCreate(savedInstanceState) 11 | setContentView(R.layout.activity_activitymaps) 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/AturJadwal.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityAturJadwalBinding 7 | import kotlinx.android.synthetic.main.activity_atur_jadwal.* 8 | 9 | class AturJadwal : AppCompatActivity() { 10 | 11 | private lateinit var binding: ActivityAturJadwalBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityAturJadwalBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | backabuabu.setOnClickListener { 23 | val intent = Intent(this, CariFaskesehatan::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | btn_pesan.setOnClickListener { 28 | val intent = Intent(this, Checkout::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/CariFaskesehatan.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityCariFaskesehatanBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_cari_faskesehatan.* 9 | 10 | class CariFaskesehatan : AppCompatActivity() { 11 | 12 | private lateinit var binding: ActivityCariFaskesehatanBinding 13 | 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | super.onCreate(savedInstanceState) 16 | binding = ActivityCariFaskesehatanBinding.inflate(layoutInflater) 17 | 18 | //memanggil layout dengan menggunakan binding.root 19 | setContentView(binding.root) 20 | 21 | supportActionBar?.hide() 22 | 23 | back.setOnClickListener { 24 | val intent = Intent(this, Home::class.java) 25 | startActivity(intent) 26 | } 27 | rs1.setOnClickListener { 28 | val intent = Intent(this, AturJadwal::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/Carifaskes.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.os.Bundle 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import androidx.fragment.app.Fragment 8 | import com.google.android.gms.maps.CameraUpdateFactory 9 | import com.google.android.gms.maps.SupportMapFragment 10 | import com.google.android.gms.maps.model.MarkerOptions 11 | import com.zainul.medichapp.R 12 | import com.zainul.medichapp.databinding.FragmentCarifaskesBinding 13 | 14 | 15 | class Carifaskes : Fragment() { 16 | private var _binding: FragmentCarifaskesBinding? = null 17 | private val binding get() = _binding!! 18 | 19 | override fun onCreateView( 20 | inflater: LayoutInflater, container: ViewGroup?, 21 | savedInstanceState: Bundle? 22 | ): View? { 23 | // Initialize view 24 | inflater.inflate(R.layout.fragment_carifaskes, container, false) 25 | // Initialize map fragment 26 | val supportMapFragment = 27 | childFragmentManager.findFragmentById(R.id.google_map) as SupportMapFragment? 28 | 29 | // Async map 30 | supportMapFragment!!.getMapAsync { googleMap -> 31 | // When map is loaded 32 | googleMap.setOnMapClickListener { latLng -> // When clicked on map 33 | // Initialize marker options 34 | val markerOptions = MarkerOptions() 35 | // Set position of marker 36 | markerOptions.position(latLng) 37 | // Set title of marker 38 | markerOptions.title(latLng.latitude.toString() + " : " + latLng.longitude) 39 | // Remove all marker 40 | googleMap.clear() 41 | // Animating to zoom the marker 42 | googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(latLng, 10f)) 43 | // Add marker on map 44 | googleMap.addMarker(markerOptions) 45 | } 46 | } 47 | // Return view 48 | return view 49 | } 50 | 51 | override fun onDestroyView() { 52 | super.onDestroyView() 53 | _binding = null 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/Checkout.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityCheckoutBinding 7 | import kotlinx.android.synthetic.main.activity_checkout.* 8 | 9 | class Checkout : AppCompatActivity() { 10 | private lateinit var binding: ActivityCheckoutBinding 11 | 12 | override fun onCreate(savedInstanceState: Bundle?) { 13 | super.onCreate(savedInstanceState) 14 | binding = ActivityCheckoutBinding.inflate(layoutInflater) 15 | 16 | //memanggil layout dengan menggunakan binding.root 17 | setContentView(binding.root) 18 | 19 | supportActionBar?.hide() 20 | 21 | kembali1.setOnClickListener { 22 | val intent = Intent(this, CariFaskesehatan::class.java) 23 | startActivity(intent) 24 | 25 | } 26 | butonbayar.setOnClickListener { 27 | val intent = Intent(this, LanjutBayar::class.java) 28 | startActivity(intent) 29 | 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/LanjutBayar.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityLanjutBayarBinding 7 | import kotlinx.android.synthetic.main.activity_lanjut_bayar.* 8 | 9 | class LanjutBayar : AppCompatActivity() { 10 | private lateinit var binding: ActivityLanjutBayarBinding 11 | 12 | override fun onCreate(savedInstanceState: Bundle?) { 13 | super.onCreate(savedInstanceState) 14 | binding = ActivityLanjutBayarBinding.inflate(layoutInflater) 15 | 16 | //memanggil layout dengan menggunakan binding.root 17 | setContentView(binding.root) 18 | 19 | supportActionBar?.hide() 20 | 21 | kembali2.setOnClickListener { 22 | val intent = Intent(this, Checkout::class.java) 23 | startActivity(intent) 24 | 25 | } 26 | 27 | btnlanjutbayar.setOnClickListener { 28 | val intent = Intent(this, TxSucces::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/gelembung/TxSucces.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.gelembung 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityTxSuccesBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_tx_succes.* 9 | 10 | class TxSucces : AppCompatActivity() { 11 | private lateinit var binding: ActivityTxSuccesBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityTxSuccesBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | kembali3.setOnClickListener { 23 | val intent = Intent(this, CariFaskesehatan::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | 28 | backberanda.setOnClickListener { 29 | val intent = Intent(this, Home::class.java) 30 | startActivity(intent) 31 | 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/Home.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome 2 | 3 | import android.os.Bundle 4 | import androidx.appcompat.app.AppCompatActivity 5 | import androidx.navigation.findNavController 6 | import androidx.navigation.ui.AppBarConfiguration 7 | import androidx.navigation.ui.setupActionBarWithNavController 8 | import androidx.navigation.ui.setupWithNavController 9 | import com.google.android.material.bottomnavigation.BottomNavigationView 10 | import com.zainul.medichapp.R 11 | import com.zainul.medichapp.databinding.ActivityHomeBinding 12 | 13 | class Home : AppCompatActivity() { 14 | 15 | private lateinit var binding: ActivityHomeBinding 16 | 17 | override fun onCreate(savedInstanceState: Bundle?) { 18 | super.onCreate(savedInstanceState) 19 | 20 | binding = ActivityHomeBinding.inflate(layoutInflater) 21 | setContentView(binding.root) 22 | 23 | val navView: BottomNavigationView = binding.navView 24 | 25 | val navController = findNavController(R.id.nav_host_fragment_activity_home) 26 | // Passing each menu ID as a set of Ids because each 27 | // menu should be considered as top level destinations. 28 | val appBarConfiguration = AppBarConfiguration( 29 | setOf( 30 | R.id.navigation_home, R.id.navigation_Obat, R.id.navigation_Donasi, R.id.navigation_dokter, R.id.navigation_personal 31 | ) 32 | ) 33 | setupActionBarWithNavController(navController, appBarConfiguration) 34 | navView.setupWithNavController(navController) 35 | } 36 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/dokter/DokterFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.dokter 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import androidx.fragment.app.Fragment 9 | import androidx.lifecycle.ViewModelProvider 10 | import com.zainul.medichapp.databinding.FragmentDokterBinding 11 | import com.zainul.medichapp.dokter.DetailDokter 12 | import kotlinx.android.synthetic.main.fragment_dokter.view.* 13 | 14 | class DokterFragment : Fragment() { 15 | 16 | private var _binding: FragmentDokterBinding? = null 17 | 18 | // This property is only valid between onCreateView and 19 | // onDestroyView. 20 | private val binding get() = _binding!! 21 | 22 | override fun onCreateView( 23 | inflater: LayoutInflater, 24 | container: ViewGroup?, 25 | savedInstanceState: Bundle? 26 | ): View { 27 | val homeViewModel = 28 | ViewModelProvider(this).get(DokterViewModel::class.java) 29 | 30 | _binding = FragmentDokterBinding.inflate(inflater, container, false) 31 | val root: View = binding.root 32 | 33 | return root 34 | } 35 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 36 | super.onViewCreated(view, savedInstanceState) 37 | 38 | view.dr3.setOnClickListener { 39 | val intent = Intent(activity, DetailDokter::class.java) 40 | startActivity(intent) 41 | } 42 | } 43 | override fun onDestroyView() { 44 | super.onDestroyView() 45 | _binding = null 46 | } 47 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/dokter/DokterViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.dokter 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class DokterViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/donasi/DonasiFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.donasi 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import androidx.fragment.app.Fragment 9 | import androidx.lifecycle.ViewModelProvider 10 | import com.zainul.medichapp.databinding.FragmentDonasiBinding 11 | import com.zainul.medichapp.donasi.PayDonasi 12 | import com.zainul.medichapp.mainhome.ui.notifications.DonasiViewModel 13 | import kotlinx.android.synthetic.main.fragment_donasi.view.* 14 | 15 | class DonasiFragment : Fragment() { 16 | 17 | private var _binding: FragmentDonasiBinding? = null 18 | 19 | // This property is only valid between onCreateView and 20 | // onDestroyView. 21 | private val binding get() = _binding!! 22 | 23 | override fun onCreateView( 24 | inflater: LayoutInflater, 25 | container: ViewGroup?, 26 | savedInstanceState: Bundle? 27 | ): View { 28 | val notificationsViewModel = 29 | ViewModelProvider(this)[DonasiViewModel::class.java] 30 | 31 | _binding = FragmentDonasiBinding.inflate(inflater, container, false) 32 | val root: View = binding.root 33 | 34 | 35 | return root 36 | } 37 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 38 | super.onViewCreated(view, savedInstanceState) 39 | 40 | view.btndonasiskrng.setOnClickListener { 41 | val intent = Intent(activity, PayDonasi::class.java) 42 | startActivity(intent) 43 | } 44 | } 45 | override fun onDestroyView() { 46 | super.onDestroyView() 47 | _binding = null 48 | } 49 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/donasi/DonasiViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.notifications 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class DonasiViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/home/HomeFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.home 2 | 3 | 4 | import android.content.Intent 5 | import android.os.Bundle 6 | import android.view.LayoutInflater 7 | import android.view.View 8 | import android.view.ViewGroup 9 | import androidx.fragment.app.Fragment 10 | import com.zainul.medichapp.databinding.FragmentHomeBinding 11 | import com.zainul.medichapp.doktermenus.dokter 12 | import com.zainul.medichapp.gelembung.CariFaskesehatan 13 | import kotlinx.android.synthetic.main.fragment_home.view.* 14 | 15 | 16 | class HomeFragment : Fragment() { 17 | 18 | private var _binding: FragmentHomeBinding? = null 19 | 20 | // This property is only valid between onCreateView and 21 | // onDestroyView. 22 | private val binding get() = _binding!! 23 | 24 | override fun onCreateView( 25 | inflater: LayoutInflater, 26 | container: ViewGroup?, 27 | savedInstanceState: Bundle? 28 | ): View { 29 | 30 | _binding = FragmentHomeBinding.inflate(inflater, container, false) 31 | val root: View = binding.root 32 | 33 | return root 34 | 35 | } 36 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 37 | super.onViewCreated(view, savedInstanceState) 38 | 39 | view.gambar1.setOnClickListener { 40 | val intent = Intent(activity, dokter::class.java) 41 | startActivity(intent) 42 | } 43 | view.gambar2.setOnClickListener { 44 | val intent = Intent(activity, CariFaskesehatan::class.java) 45 | startActivity(intent) 46 | } 47 | } 48 | 49 | override fun onDestroyView() { 50 | super.onDestroyView() 51 | _binding = null 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/home/HomeViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.home 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class HomeViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/obat/ObatFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import androidx.fragment.app.Fragment 9 | import com.zainul.medichapp.databinding.FragmentObatBinding 10 | import com.zainul.medichapp.obat.JenisObat 11 | import kotlinx.android.synthetic.main.fragment_obat.view.* 12 | 13 | 14 | class ObatFragment : Fragment() { 15 | 16 | private var _binding: FragmentObatBinding? = null 17 | 18 | // This property is only valid between onCreateView and 19 | // onDestroyView. 20 | private val binding get() = _binding!! 21 | 22 | override fun onCreateView( 23 | inflater: LayoutInflater, 24 | container: ViewGroup?, 25 | savedInstanceState: Bundle? 26 | ): View { 27 | 28 | _binding = FragmentObatBinding.inflate(inflater, container, false) 29 | val root: View = binding.root 30 | 31 | return root 32 | 33 | } 34 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 35 | super.onViewCreated(view, savedInstanceState) 36 | 37 | view.apotik2.setOnClickListener { 38 | val intent = Intent(activity, JenisObat::class.java) 39 | startActivity(intent) 40 | } 41 | } 42 | 43 | override fun onDestroyView() { 44 | super.onDestroyView() 45 | _binding = null 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/obat/ObatViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.obat 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class ObatViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/personal/PersonalFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.personal 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import androidx.fragment.app.Fragment 9 | import com.google.firebase.auth.FirebaseAuth 10 | import com.zainul.medichapp.LoginActivity 11 | import com.zainul.medichapp.databinding.FragmentPersonalBinding 12 | import kotlinx.android.synthetic.main.fragment_personal.view.* 13 | 14 | class PersonalFragment : Fragment() { 15 | 16 | 17 | private var _binding: FragmentPersonalBinding? = null 18 | lateinit var auth: FirebaseAuth 19 | 20 | private val binding get() = _binding!! 21 | 22 | override fun onCreateView( 23 | inflater: LayoutInflater, container: ViewGroup?, 24 | savedInstanceState: Bundle? 25 | ): View { 26 | _binding = FragmentPersonalBinding.inflate(inflater, container, false) 27 | return binding.root 28 | } 29 | 30 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 31 | super.onViewCreated(view, savedInstanceState) 32 | 33 | auth = FirebaseAuth.getInstance() 34 | val user = auth.currentUser 35 | 36 | //kondisi user sedang login atau tidak 37 | if (user != null) { 38 | binding.edtName.setText(user.displayName) 39 | binding.edtEmail.text = user.email 40 | 41 | view.logout.setOnClickListener { 42 | val intent = Intent(activity, LoginActivity::class.java) 43 | startActivity(intent) 44 | } 45 | } 46 | } 47 | override fun onDestroyView() { 48 | super.onDestroyView() 49 | _binding = null 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/mainhome/ui/personal/PersonalViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.mainhome.ui.personal 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class PersonalViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/obat/Chechout.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityChechoutBinding 7 | import kotlinx.android.synthetic.main.activity_chechout.* 8 | 9 | class Chechout : AppCompatActivity() { 10 | 11 | private lateinit var binding: ActivityChechoutBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityChechoutBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | kembali1.setOnClickListener { 23 | val intent = Intent(this, DetailObat::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | butonbayar.setOnClickListener { 28 | val intent = Intent(this, NextPayment::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/obat/DetailObat.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityDetailObatBinding 7 | import kotlinx.android.synthetic.main.activity_detail_obat.* 8 | 9 | class DetailObat : AppCompatActivity() { 10 | 11 | private lateinit var binding: ActivityDetailObatBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityDetailObatBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | back.setOnClickListener { 23 | val intent = Intent(this, JenisObat::class.java) 24 | startActivity(intent) 25 | 26 | } 27 | butonbayar.setOnClickListener { 28 | val intent = Intent(this, Chechout::class.java) 29 | startActivity(intent) 30 | 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/obat/JenisObat.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityJenisObatBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_jenis_obat.* 9 | 10 | class JenisObat : AppCompatActivity() { 11 | 12 | private lateinit var binding: ActivityJenisObatBinding 13 | 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | super.onCreate(savedInstanceState) 16 | binding = ActivityJenisObatBinding.inflate(layoutInflater) 17 | 18 | //memanggil layout dengan menggunakan binding.root 19 | setContentView(binding.root) 20 | 21 | supportActionBar?.hide() 22 | 23 | back.setOnClickListener { 24 | val intent = Intent(this, Home::class.java) 25 | startActivity(intent) 26 | 27 | } 28 | amoxilin.setOnClickListener { 29 | val intent = Intent(this, DetailObat::class.java) 30 | startActivity(intent) 31 | 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/obat/NextPayment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityNextPaymentBinding 7 | import kotlinx.android.synthetic.main.activity_next_payment.* 8 | 9 | class NextPayment : AppCompatActivity() { 10 | 11 | private lateinit var binding: ActivityNextPaymentBinding 12 | 13 | override fun onCreate(savedInstanceState: Bundle?) { 14 | super.onCreate(savedInstanceState) 15 | binding = ActivityNextPaymentBinding.inflate(layoutInflater) 16 | 17 | //memanggil layout dengan menggunakan binding.root 18 | setContentView(binding.root) 19 | 20 | supportActionBar?.hide() 21 | 22 | btnlanjtpay.setOnClickListener { 23 | val intent = Intent(this, Txberhasil::class.java) 24 | startActivity(intent) 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/obat/Txberhasil.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.obat 2 | 3 | import android.content.Intent 4 | import android.os.Bundle 5 | import androidx.appcompat.app.AppCompatActivity 6 | import com.zainul.medichapp.databinding.ActivityTxberhasilBinding 7 | import com.zainul.medichapp.mainhome.Home 8 | import kotlinx.android.synthetic.main.activity_txberhasil.* 9 | 10 | class Txberhasil : AppCompatActivity() { 11 | 12 | private lateinit var binding: ActivityTxberhasilBinding 13 | 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | super.onCreate(savedInstanceState) 16 | binding = ActivityTxberhasilBinding.inflate(layoutInflater) 17 | 18 | //memanggil layout dengan menggunakan binding.root 19 | setContentView(binding.root) 20 | 21 | supportActionBar?.hide() 22 | 23 | kembali3.setOnClickListener { 24 | val intent = Intent(this, JenisObat::class.java) 25 | startActivity(intent) 26 | 27 | } 28 | backberanda.setOnClickListener { 29 | val intent = Intent(this, Home::class.java) 30 | startActivity(intent) 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/onboarding/ViewPagerAdapter.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.onboarding 2 | 3 | import androidx.fragment.app.Fragment 4 | import androidx.fragment.app.FragmentManager 5 | import androidx.lifecycle.Lifecycle 6 | import androidx.viewpager2.adapter.FragmentStateAdapter 7 | 8 | class ViewPagerAdapter( 9 | list: ArrayList, 10 | fm: FragmentManager, 11 | lifecycle: Lifecycle 12 | ) : FragmentStateAdapter(fm, lifecycle) { 13 | 14 | private val fragmentList = list 15 | 16 | override fun getItemCount(): Int { 17 | return fragmentList.size 18 | } 19 | 20 | override fun createFragment(position: Int): Fragment { 21 | return fragmentList[position] 22 | } 23 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/onboarding/ViewPagerFragment.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.onboarding 2 | 3 | import android.os.Bundle 4 | import androidx.fragment.app.Fragment 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import com.zainul.medichapp.onboarding.ViewPagerAdapter 9 | import com.zainul.medichapp.R 10 | import com.zainul.medichapp.onboarding.screens.FirstScreen 11 | import com.zainul.medichapp.onboarding.screens.SecondScreen 12 | import com.zainul.medichapp.onboarding.screens.ThirdScreen 13 | import kotlinx.android.synthetic.main.fragment_view_pager.view.* 14 | 15 | class ViewPagerFragment : Fragment() { 16 | 17 | override fun onCreateView( 18 | inflater: LayoutInflater, container: ViewGroup?, 19 | savedInstanceState: Bundle? 20 | ): View? { 21 | // Inflate the layout for this fragment 22 | val view = inflater.inflate(R.layout.fragment_view_pager, container, false) 23 | 24 | val fragmentList = arrayListOf( 25 | FirstScreen(), 26 | SecondScreen(), 27 | ThirdScreen() 28 | ) 29 | 30 | val adapter = ViewPagerAdapter( 31 | fragmentList, 32 | requireActivity().supportFragmentManager, 33 | lifecycle 34 | ) 35 | 36 | view.viewPager.adapter = adapter 37 | 38 | return view 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/onboarding/screens/FirstScreen.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.onboarding.screens 2 | 3 | import android.content.Context 4 | import android.os.Bundle 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | import androidx.fragment.app.Fragment 9 | import androidx.viewpager2.widget.ViewPager2 10 | import com.zainul.medichapp.R 11 | import kotlinx.android.synthetic.main.fragment_first_screen.view.* 12 | 13 | class FirstScreen : Fragment() { 14 | 15 | override fun onCreateView( 16 | inflater: LayoutInflater, container: ViewGroup?, 17 | savedInstanceState: Bundle? 18 | ): View? { 19 | // Inflate the layout for this fragment 20 | val view = inflater.inflate(R.layout.fragment_first_screen, container, false) 21 | 22 | val viewPager = activity?.findViewById(R.id.viewPager) 23 | 24 | view.next.setOnClickListener { 25 | viewPager?.currentItem = 1 26 | } 27 | 28 | return view 29 | } 30 | 31 | override fun onAttach(context: Context) { 32 | super.onAttach(context) 33 | 34 | 35 | } 36 | 37 | override fun onDetach() { 38 | super.onDetach() 39 | } 40 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/onboarding/screens/SecondScreen.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.onboarding.screens 2 | 3 | 4 | import android.content.Context 5 | import android.os.Bundle 6 | import android.view.LayoutInflater 7 | import android.view.View 8 | import android.view.ViewGroup 9 | import androidx.fragment.app.Fragment 10 | import androidx.viewpager2.widget.ViewPager2 11 | import com.zainul.medichapp.R 12 | import kotlinx.android.synthetic.main.fragment_second_screen.view.* 13 | 14 | class SecondScreen : Fragment() { 15 | 16 | override fun onCreateView( 17 | inflater: LayoutInflater, container: ViewGroup?, 18 | savedInstanceState: Bundle? 19 | ): View? { 20 | // Inflate the layout for this fragment 21 | val view = inflater.inflate(R.layout.fragment_second_screen, container, false) 22 | 23 | val viewPager = activity?.findViewById(R.id.viewPager) 24 | 25 | view.next2.setOnClickListener { 26 | viewPager?.currentItem = 2 27 | } 28 | 29 | return view 30 | } 31 | override fun onAttach(context: Context) { 32 | super.onAttach(context) 33 | 34 | } 35 | 36 | override fun onDetach() { 37 | super.onDetach() 38 | } 39 | } -------------------------------------------------------------------------------- /app/src/main/java/com/zainul/medichapp/onboarding/screens/ThirdScreen.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp.onboarding.screens 2 | 3 | 4 | import android.content.Context 5 | import android.os.Bundle 6 | import android.view.LayoutInflater 7 | import android.view.View 8 | import android.view.ViewGroup 9 | import androidx.fragment.app.Fragment 10 | import androidx.navigation.fragment.findNavController 11 | import com.zainul.medichapp.R 12 | import kotlinx.android.synthetic.main.fragment_third_screen.view.* 13 | 14 | class ThirdScreen : Fragment() { 15 | 16 | override fun onCreateView( 17 | inflater: LayoutInflater, container: ViewGroup?, 18 | savedInstanceState: Bundle? 19 | ): View? { 20 | // Inflate the layout for this fragment 21 | val view = inflater.inflate(R.layout.fragment_third_screen, container, false) 22 | 23 | view.Register.setOnClickListener { 24 | findNavController().navigate(R.id.action_viewPagerFragment_to_homeFragment) 25 | onBoardingFinished() 26 | } 27 | view.Masuk.setOnClickListener { 28 | findNavController().navigate(R.id.action_viewPagerFragment_to_loginactivity) 29 | onBoardingFinished() 30 | } 31 | 32 | return view 33 | } 34 | 35 | private fun onBoardingFinished(){ 36 | val sharedPref = requireActivity().getSharedPreferences("onBoarding", Context.MODE_PRIVATE) 37 | val editor = sharedPref.edit() 38 | editor.putBoolean("Daftar", true) 39 | editor.apply() 40 | } 41 | override fun onAttach(context: Context) { 42 | super.onAttach(context) 43 | 44 | } 45 | 46 | override fun onDetach() { 47 | super.onDetach() 48 | 49 | } 50 | 51 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/apotik1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/apotik1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/apotik2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/apotik2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/apotik3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/apotik3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/apotik4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/apotik4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/backlokasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/backlokasi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/backroundpeyment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/backroundpeyment.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dokter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dokter1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dokter2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dokter2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dokter3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dokter3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dokter4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dokter4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dr1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dr1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dr2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dr2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dr3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dr3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dr4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/dr4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/gelembung1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/gelembung1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/lapisan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/lapisan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/rs01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/rs01.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/rs1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/rs1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/rs2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/rs2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/rs3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/rs3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/rs4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable-v24/rs4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/amoxilin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/amoxilin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/aturjadwal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/aturjadwal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/aturwaktu2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/aturwaktu2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/back2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/back2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backabu.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/backdetailobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backdetailobat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backhitam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backhitam.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backpinkicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backpinkicons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backputih.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backputih.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backputihrs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backputihrs.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backroundpink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backroundpink.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backroundputih.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backroundputih.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backrs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backrs.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backrsdetail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/backrsdetail.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/bag.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bannerbawah.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/bannerbawah.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bannerbawah1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/bannerbawah1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/beliobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/beliobat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btndonasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/btndonasi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btnlanjutbayar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/btnlanjutbayar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btnregis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/btnregis.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonbayar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonbayar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonlogin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonlogin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonpesanskrng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonpesanskrng.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonpink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonpink.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonregis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonregis.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/butonwa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/butonwa.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/buttonchat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/buttonchat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/buttonchat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/buttonchat2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/buttonchat3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/buttonchat3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/caridokter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/caridokter.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/carifaskes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/carifaskes.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/cekdarah.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/cekdarah.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/daftar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/daftar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/detaillanjutbayar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/detaillanjutbayar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/detailobatbawah.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/detailobatbawah.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/detailpayobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/detailpayobat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/dokter_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/dokter_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/donasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/donasi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/donasi_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/donasi_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/dralif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/dralif.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/edit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/garis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/garis.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/graduation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/graduation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/harga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/harga.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/home_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubungkan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/hubungkan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubungkanasuransi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/hubungkanasuransi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dashboard_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icons_money.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/icons_money.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/imageplaceholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/imageplaceholder.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jam.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/jempolicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/jempolicons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jumat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/jumat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kamis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/kamis.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kembaliberanda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/kembaliberanda.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/keranjang_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/keranjang_icons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kolompass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/kolompass.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kolomregis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/kolomregis.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/konsult.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/konsult.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kotakpink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/kotakpink.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lanjtbayar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/lanjtbayar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lanjutbayar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/lanjutbayar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/layananygdibook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/layananygdibook.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lihatriwayat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/lihatriwayat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/like.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_begraund.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/login_begraund.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logingoogle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/logingoogle.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/logo2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/logout.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lokasi.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/lokasi_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/lokasi_icons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lokasiicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/lokasiicons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/loveicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/loveicons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/maps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/maps.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/masukannominal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/masukannominal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/metodepembayaran.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/metodepembayaran.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/mtpick.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/mtpick.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable/no19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/no19.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nominal1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/nominal1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nominal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/nominal2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nominal3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/nominal3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/notif_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/notif_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/obat_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/obat_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/obatamoxilin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/obatamoxilin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onboard1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/onboard1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onboard2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/onboard2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/onboard3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/onboard3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/orgsakit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/orgsakit1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/orgsakit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/orgsakit2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/orgsakit3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/orgsakit3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/paracetamol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/paracetamol.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/personal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/personal_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/personalmenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/personalmenu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pick10k.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/pick10k.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pilihlayanan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/pilihlayanan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pilihlokasi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/pilihlokasi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/profile.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/rab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/rab.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/rating.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/rumahsakit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/rumahsakit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sabtu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/sabtu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sanmol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/sanmol.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/searchobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/searchobat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sendungu.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/seracplihrs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/seracplihrs.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/tempra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/tempra.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/tensi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/tensi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/tesjantung.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/tesjantung.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/total.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/total.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/tujuan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/tujuan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/txberhasil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/txberhasil.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/under_construction.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/under_construction.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable/vektoramal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/vektoramal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/vektoremail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/vektoremail.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/vektorview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/vektorview.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/waktu1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/waktu1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/waktu2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/waktu2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/waktu3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/drawable/waktu3.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_activitymaps.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_chechout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 21 | 22 | 33 | 34 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_checkout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 21 | 22 | 33 | 34 | 46 | 47 | 57 | 58 | 69 | 70 | 81 | 82 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_detail_obat.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 22 | 23 | 34 | 35 | 46 | 47 | 58 | 59 | 70 | 71 | 82 | 83 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 19 | 20 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_page.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 23 | 24 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_jenis_obat.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 24 | 25 | 35 | 36 | 46 | 47 | 57 | 58 | 68 | 69 | 79 | 80 | 90 | 91 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_lanjut_bayar.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 21 | 22 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_next_payment.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 21 | 22 | 33 | 34 | 45 | 46 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_tx_succes.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 20 | 21 | 34 | 35 | 49 | 50 | 64 | 65 | 76 | 77 | 87 | 88 | 97 | 98 | 109 | 110 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_txberhasil.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 20 | 21 | 22 | 33 | 34 | 43 | 44 | 55 | -------------------------------------------------------------------------------- /app/src/main/res/layout/custom_action_bar_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 13 | 14 | 23 | 24 | 25 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_carifaskes.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_detail_obat.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_dokter.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 21 | 22 | 33 | 34 | 35 | 46 | 47 | 58 | 59 | 70 | 71 | 82 | 83 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_first_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 23 | 24 | 38 | 39 | 53 | 54 | 68 | 69 | 83 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_obat.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 17 | 18 | 22 | 23 | 34 | 35 | 36 | 49 | 50 | 61 | 62 | 73 | 74 | 75 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_obatold.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 24 | 25 | 35 | 36 | 46 | 47 | 57 | 58 | 68 | 69 | 79 | 80 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_personal.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 22 | 23 | 35 | 36 | 46 | 47 | 58 | 59 | 68 | 69 | 81 | 82 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_second_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 22 | 23 | 37 | 38 | 52 | 53 | 67 | 68 | 82 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_view_pager.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/menu/bottom_nav_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_home1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 11 | 12 | 17 | 18 | -------------------------------------------------------------------------------- /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/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/navigation/mobile_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 19 | 20 | 25 | 26 | 31 | 32 | 37 | -------------------------------------------------------------------------------- /app/src/main/res/navigation/my_nav.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 18 | 22 | 23 | 28 | 33 | 38 | 39 | 44 | 45 | 50 | 55 | 60 | 61 | 66 | 67 | 72 | 73 | 78 | 79 | 84 | 85 | 90 | 95 | 96 | 101 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #6200EE 4 | #3700B3 5 | #03DAC5 6 | 7 | #7BCEFF 8 | #B54A97 9 | #FFFFFF 10 | #525252 11 | #594AB5 12 | #414141 13 | #868686 14 | #313131 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Medich 3 | 4 | FRESH FOOD 5 | FAST DELIVERY 6 | EASY PAYMENT 7 | 8 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt. 9 | 10 | Hello blank fragment 11 | home 12 | Home 13 | Dashboard 14 | Notifications 15 | Beranda 16 | Obat 17 | Donasi 18 | Dokter 19 | Personal 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /app/src/test/java/com/zainul/medichapp/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.zainul.medichapp 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | 2 | buildscript { 3 | ext.kotlin_version = '1.5.21' 4 | repositories { 5 | google() 6 | mavenCentral() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.3.1' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | classpath 'com.google.gms:google-services:4.3.14' 12 | classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21") 13 | classpath 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1' 14 | 15 | // NOTE: Do not place your application dependencies here; they belong 16 | // in the individual module build.gradle files 17 | } 18 | } 19 | 20 | allprojects { 21 | repositories { 22 | google() 23 | mavenCentral() 24 | } 25 | } 26 | task clean(type: Delete) { 27 | delete rootProject.buildDir 28 | } -------------------------------------------------------------------------------- /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=-Xmx2048m -Dfile.encoding=UTF-8 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 | # Kotlin code style for this project: "official" or "obsolete": 19 | kotlin.code.style=official 20 | # Enables namespacing of each library's R class so that its R class includes only the 21 | # resources declared in the library itself and none from the library's dependencies, 22 | # thereby reducing the size of the R class for that library 23 | android.nonTransitiveRClass=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zainul-Code/Medich-App/79c132b5f123aad256336259e0145d3b9668a67a/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Nov 16 17:54:49 ICT 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | rootProject.name = "Medich App" 9 | include ':app' 10 | --------------------------------------------------------------------------------