Skip to content

Commit 47b7181

Browse files
committed
1. Added date time utils and text utils.
2. Modified and fixed bugs.
1 parent 8a19553 commit 47b7181

Some content is hidden

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

52 files changed

+2537
-1995
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

.idea/dictionaries/amitj.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

+19-9
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,36 @@ apply plugin: 'com.github.dcendents.android-maven'
66
group = 'com.github.amitjangid80'
77

88
android {
9-
compileSdkVersion 27
9+
compileSdkVersion 28
10+
1011
defaultConfig {
1112
minSdkVersion 19
12-
targetSdkVersion 27
13-
versionCode 1
14-
versionName "1.0"
13+
targetSdkVersion 28
14+
versionCode 4
15+
versionName "1.0.3"
1516
}
17+
1618
buildTypes {
1719
release {
1820
minifyEnabled false
1921
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2022
}
2123
}
24+
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_7
27+
targetCompatibility JavaVersion.VERSION_1_7
28+
}
29+
}
30+
31+
ext {
32+
supportLibraryVersion = '28.0.0'
2233
}
2334

2435
dependencies {
2536
implementation fileTree(dir: 'libs', include: ['*.jar'])
26-
implementation 'com.android.support:appcompat-v7:27.1.1'
27-
implementation 'com.android.support:design:27.1.1'
28-
implementation 'com.android.support:cardview-v7:27.1.1'
29-
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
30-
implementation 'com.android.support:appcompat-v7:27.1.1'
37+
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
38+
implementation "com.android.support:design:$supportLibraryVersion"
39+
implementation "com.android.support:cardview-v7:$supportLibraryVersion"
40+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3141
}

app/src/main/java/com/amit/kotlib/anim/AnimLoader.kt

+7-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ import android.view.animation.ScaleAnimation
88

99
/**
1010
* Created by Amit Jangid on 22,May,2018
11-
*/
12-
object AnimLoader {
13-
fun getInAnimation(context: Context): AnimationSet {
11+
**/
12+
object AnimLoader
13+
{
14+
fun getInAnimation(context: Context): AnimationSet
15+
{
1416
val `in` = AnimationSet(context, null)
15-
1617
val alpha = AlphaAnimation(0.0f, 1.0f)
1718
alpha.duration = 90
1819

@@ -47,7 +48,8 @@ object AnimLoader {
4748
return `in`
4849
}
4950

50-
fun getOutAnimation(context: Context): AnimationSet {
51+
fun getOutAnimation(context: Context): AnimationSet
52+
{
5153
val out = AnimationSet(context, null)
5254
val alpha = AlphaAnimation(1.0f, 0.0f)
5355
alpha.duration = 150

0 commit comments

Comments
 (0)