Sitelet https://github.com/DevAhamed/MultiViewAdapter/commit/d74a39790fbb2afa9d617fb51f2f37545a3374ff
Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit d74a397

Browse files
authored
Update sample app and enable automation (#67)
1. Handle state restoration properly inside sample app 2. Add separate app icons for debug builds 3. Add applicationIdSuffix to differentiate debug builds 4. Remove obsolete keystore information from gradle file
1 parent 77cb6ca commit d74a397

33 files changed

Lines changed: 95 additions & 172 deletions

‎buildSrc/src/main/java/gradle/Config.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public interface Config {
2323
int TARGET_SDK = COMPILE_SDK;
2424

2525
String VERSION = "2.0.0";
26-
String APP_VERSION = VERSION + ".0";
26+
String APP_VERSION = VERSION + ".1";
2727
String PRODUCTION_VERSION = VERSION + "-alpha01";
2828
String SNAPSHOT_VERSION = VERSION + "-SNAPSHOT";
29-
int VERSION_CODE = 210200001;
29+
int VERSION_CODE = 210200002;
3030

3131
String APP_COMPAT = "com.android.support:appcompat-v7:28.0.0";
3232
String DESIGN = "com.android.support:design:28.0.0";

‎sample/build.gradle‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,11 @@ android {
2727
versionCode Config.VERSION_CODE
2828
versionName Config.APP_VERSION
2929
}
30-
// signingConfigs {
31-
// Properties properties = new Properties()
32-
// properties.load(project.rootProject.file('local.properties').newDataInputStream())
33-
// config {
34-
// keyAlias properties.getProperty("alias")
35-
// keyPassword properties.getProperty("password")
36-
// storeFile file(properties.getProperty("keypath"))
37-
// storePassword properties.getProperty("password")
38-
// }
39-
// }
4030
buildTypes {
31+
debug {
32+
applicationIdSuffix ".debug"
33+
}
4134
release {
42-
// signingConfig signingConfigs.config
4335
minifyEnabled false
4436
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4537
}
49.6 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
3.78 KB
Loading
4.64 KB
Loading
3.07 KB
Loading
4.92 KB
Loading
2.52 KB
Loading

0 commit comments

Comments
 (0)