Uncategorised

Uncategorised

Android Navigation component and Safe Args Example

// Navigation component plugins { id ‘com.android.application’ id ‘kotlin-android’ // Ensure type-safety by using Safe Args id ‘androidx.navigation.safeargs’ } android { compileSdk 31 defaultConfig { applicationId “com.materialuiux.navigation_components_example” minSdk 21 targetSdk 31 versionCode 1 versionName “1.0” testInstrumentationRunner “androidx.test.runner.AndroidJUnitRunner” } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android-optimize.txt’), ‘proguard-rules.pro’ } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8…

Continue reading

×