Skip to content

Commit 12ac0c9

Browse files
Initial commit
0 parents  commit 12ac0c9

File tree

75 files changed

+2231
-0
lines changed

Some content is hidden

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

75 files changed

+2231
-0
lines changed

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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

.idea/$CACHE_FILE$

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

.idea/.name

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

.idea/androidDexCompiler.xml

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

.idea/codeStyles/Project.xml

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

.idea/codeStyles/codeStyleConfig.xml

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

.idea/copyright/alialfayed.xml

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

.idea/copyright/profiles_settings.xml

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

.idea/dictionaries

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

.idea/gradle.xml

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

.idea/jarRepositories.xml

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

.idea/misc.xml

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

.idea/runConfigurations.xml

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

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'kotlin-android-extensions'
4+
apply plugin: 'kotlin-kapt'
5+
6+
android {
7+
compileSdkVersion 30
8+
buildToolsVersion "30.0.0"
9+
10+
defaultConfig {
11+
applicationId "com.alialfayed.pagination.kotlin"
12+
minSdkVersion 26
13+
targetSdkVersion 30
14+
versionCode 1
15+
versionName "1.0"
16+
17+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18+
}
19+
20+
buildTypes {
21+
release {
22+
minifyEnabled false
23+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
24+
}
25+
}
26+
27+
// JavaVersion.VERSION_1_8
28+
compileOptions {
29+
sourceCompatibility = 1.8
30+
targetCompatibility = 1.8
31+
}
32+
kotlinOptions {
33+
jvmTarget = "1.8"
34+
}
35+
36+
buildFeatures {
37+
dataBinding = true
38+
viewBinding = true
39+
}
40+
41+
}
42+
43+
dependencies {
44+
implementation fileTree(dir: "libs", include: ["*.jar"])
45+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
46+
implementation 'androidx.core:core-ktx:1.3.2'
47+
implementation 'androidx.appcompat:appcompat:1.2.0'
48+
testImplementation 'junit:junit:4.12'
49+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
50+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
51+
52+
// Google material
53+
implementation 'androidx.cardview:cardview:1.0.0'
54+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
55+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
56+
implementation 'com.google.android.material:material:1.2.1'
57+
implementation 'com.intuit.sdp:sdp-android:1.0.6' // Sd - Dp
58+
implementation 'com.intuit.ssp:ssp-android:1.0.6' // Sp - Dp
59+
60+
61+
def paging_version = "2.1.2"
62+
implementation "androidx.paging:paging-runtime:$paging_version" // pagination
63+
64+
implementation 'com.github.bumptech.glide:glide:4.11.0' // For Image
65+
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
66+
67+
//Retrofit2
68+
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
69+
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
70+
implementation 'com.google.code.gson:gson:2.8.6' // JWT to enCode information user
71+
72+
// lifecycle
73+
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
74+
implementation "android.arch.lifecycle:extensions:2.2.0"
75+
annotationProcessor "android.arch.lifecycle:compiler:2.2.0"
76+
77+
}

0 commit comments

Comments
 (0)