Skip to content

Commit ced41a7

Browse files
authoredAug 20, 2021
Development (Mindinventory#1)
* - fragment transition circular reveal * - fragment transition and LiquidNavbar transition. * Update README.md * Update README.md * - UI changes * Update README.md * - UI changes * - gif updated * -final change
1 parent 17d2f18 commit ced41a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1148
-362
lines changed
 

‎LiquidNavBar-Sample/build.gradle

+9-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ apply plugin: 'kotlin-kapt'
66
group = 'com.github.Mindinventory'
77

88
android {
9-
compileSdkVersion 30
9+
compileSdkVersion 31
1010
defaultConfig {
1111
applicationId "com.mindinventory.liquidnavbar"
1212
minSdkVersion 21
13-
targetSdkVersion 30
13+
targetSdkVersion 31
1414
versionCode 1
1515
versionName "1.0"
1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -19,8 +19,12 @@ android {
1919
dataBinding true
2020
}
2121
buildTypes {
22+
debug {
23+
minifyEnabled true
24+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25+
}
2226
release {
23-
minifyEnabled false
27+
minifyEnabled true
2428
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2529
}
2630
}
@@ -39,6 +43,8 @@ dependencies {
3943
androidTestImplementation 'androidx.test:rules:1.4.0'
4044
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
4145
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
46+
implementation 'com.intuit.sdp:sdp-android:1.0.6'
47+
implementation 'com.intuit.ssp:ssp-android:1.0.6'
4248
implementation project(':LiquidNavBar')
4349

4450
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package com.mindinventory.liquidnavbarsample
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+
9+
10+
abstract class BaseFragment : Fragment() {
11+
12+
abstract fun initRes(): Int
13+
abstract fun initView(view: View)
14+
15+
override fun onCreateView(
16+
inflater: LayoutInflater, container: ViewGroup?,
17+
savedInstanceState: Bundle?
18+
): View? {
19+
20+
return inflater.inflate(initRes(), container, false)
21+
}
22+
23+
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
24+
super.onViewCreated(view, savedInstanceState)
25+
initView(view)
26+
}
27+
28+
}

0 commit comments

Comments
 (0)