Skip to content

Commit 567fa88

Browse files
author
Riyaldi Hasan
authored
Merge pull request #3 from riyhs/dev
Dev
2 parents 8e1d009 + 6987c50 commit 567fa88

Some content is hidden

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

45 files changed

+601
-1304
lines changed

.circleci/config.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 2.1
2+
3+
orbs:
4+
android: circleci/[email protected]
5+
6+
jobs:
7+
build:
8+
executor: android/android
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
key: android-orb-v1-
13+
- run:
14+
name: Chmod permissions
15+
command: sudo chmod +x ./gradlew
16+
- run:
17+
name: Download Dependencies
18+
command: ./gradlew androidDependencies
19+
- save_cache:
20+
key: 'android-orb-v1-{{ epoch }}'
21+
paths:
22+
- ~/.android/build-cache
23+
- ~/.android/cache
24+
- run:
25+
name: Run Build
26+
command: ./gradlew build
27+
- store_artifacts:
28+
path: app/build/reports
29+
destination: reports
30+
- run:
31+
name: Run Tests
32+
command: ./gradlew lint test
33+
- store_test_results:
34+
path: app/build/test-results
35+
- store_artifacts:
36+
path: app/build/outputs/apk/debug/
37+
destination: artifact-file

.idea/codeStyles/Project.xml

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/LENOVO.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<h1 align="center">
2+
Submission 2 Dicoding MADE : GameKuy
3+
</h1>
4+
<p align="center">
5+
Submission 2 MADE (Menjadi Android Developer Expert) Dicoding
6+
</p>
7+
<p align="center">
8+
<a href="http://developer.android.com/index.html"><img alt="Platform" src="https://img.shields.io/badge/platform-Android-green.svg"></a>
9+
<a href="http://kotlinlang.org"><img alt="Kotlin" src="https://img.shields.io/badge/kotlin-1.4.31-blue.svg"></a>
10+
<a href="https://developer.android.com/studio/releases/gradle-plugin"><img alt="Gradle" src="https://img.shields.io/badge/gradle-4.1.2-green.svg"></a>
11+
<a href="https://github.com/riyhs/GameKuy-Game-Explorer-App/"><img alt="Star" src="https://img.shields.io/github/stars/riyhs/GameKuy-Game-Explorer-App"></a>
12+
<a href="https://github.com/riyhs/GameKuy-Game-Explorer-App/"><img alt="Circle CI" src="https://circleci.com/gh/riyhs/GameKuy-Game-Explorer-App.svg?style=shield"></a>
13+
</p>
14+
15+
## Table of Contents
16+
- [Introduction](#introduction)
17+
- [Installation](#installation)
18+
- [Demo](#demo)
19+
- [Features](#features)
20+
- [Tech Stack](#tech-stack)
21+
- [Dependencies](#dependencies)
22+
23+
## Introduction
24+
25+
GameKuy Android App, build with Kotlin due to finish Dicoding Menjadi Android Developer Expert (MADE) Final Submission. I'm using [api.rawg.io](https://api.rawg.io/docs/) for the data source, and my design inspirated from [rawg.io](https://rawg.io/).
26+
27+
I Hope this Project will help someone, if you feel helped with this project, you can give stars to support me, thank you very much :),
28+
And also thanks to [Adithya](https://github.com/Adithya-13/MadeSubmsission) for allowing me using his readme template, it was very helpful :))
29+
30+
## Installation
31+
32+
Clone or Download and Open it into Android Studio for Submission 2
33+
```
34+
https://github.com/riyhs/GameKuy-Game-Explorer-App.git
35+
```
36+
37+
You can use the [DownGit](https://downgit.github.io/) for download Submission 1 separately, Copy this
38+
39+
```
40+
https://github.com/riyhs/GameKuy-Game-Explorer-App/tree/submission-1
41+
```
42+
43+
and Paste it into DownGit, after that click Download Button, and voila, you can clone the code.
44+
45+
46+
## Demo
47+
48+
|Splashscreen|All Games|
49+
|--|--|
50+
|![](assets/splash.webp?raw=true)|![](assets/all-games.webp?raw=true)|
51+
52+
|Detail Games|Explore Games|Favorite Games|
53+
|--|--|--|
54+
|![](assets/detail-game.webp?raw=true)|![](assets/explore-games.webp?raw=true)|![](assets/favorite-games.webp?raw=true)|
55+
56+
## Features
57+
- Splash Screen
58+
- Get All Games
59+
- Explore Games
60+
- Add game to favorite
61+
62+
## Tech Stack
63+
- MVVM (Model-View-ViewModel) Architecture Pattern
64+
- Modularization (core module)
65+
- Dynamic Feature (favorite module)
66+
- Clean Architecture (data, domain, presentation)
67+
- Dependency Injection with Dagger Hilt
68+
- Coroutines Flow
69+
- ViewBinding
70+
- Room Persistence
71+
- Obfuscation with Proguard
72+
- Encryption with SQLCipher
73+
- Certificate Pinning with OkHttp
74+
- Continuous Integration with Circle-CI
75+
76+
## Dependencies
77+
- [Glide](https://github.com/bumptech/glide)
78+
- [Lottie](https://github.com/airbnb/lottie-android)
79+
- [AndroidX](https://mvnrepository.com/artifact/androidx)
80+
- [Navigation Component](https://developer.android.com/guide/navigation/navigation-getting-started)
81+
- [Lifecycle & LiveData](https://developer.android.com/jetpack/androidx/releases/lifecycle)
82+
- [Retrofit](https://square.github.io/retrofit/)
83+
- [Coroutines Flow](https://developer.android.com/kotlin/flow)
84+
- [Room](https://developer.android.com/training/data-storage/room?gclid=Cj0KCQiA0MD_BRCTARIsADXoopYlw1cozWjwyR-ucLYaaoqYlZeJmxG34JnhByjApMNwuchOcAzcy0aAgGHEALw_wcB&gclsrc=aw.ds)
85+
- [SQLCipher](https://github.com/sqlcipher/sqlcipher)
86+
- [SQLite](https://developer.android.com/jetpack/androidx/releases/sqlite)
87+
- [Leak Canary](https://github.com/square/leakcanary)

app/build.gradle

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ android {
2323

2424
buildTypes {
2525
release {
26-
minifyEnabled false
26+
minifyEnabled true
27+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
28+
}
29+
30+
debug {
31+
minifyEnabled true
2732
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2833
}
2934
}
@@ -46,10 +51,11 @@ dependencies {
4651
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
4752
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
4853
implementation 'androidx.appcompat:appcompat:1.2.0'
49-
implementation 'androidx.navigation:navigation-dynamic-features-fragment:2.3.3'
54+
implementation 'androidx.navigation:navigation-dynamic-features-fragment:2.3.4'
5055
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
5156

57+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'
58+
5259
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
5360
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
54-
implementation "androidx.navigation:navigation-dynamic-features-fragment:2.3.3"
5561
}

app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,21 @@
1414
android:supportsRtl="true"
1515
android:theme="@style/Theme.GameKuy"
1616
tools:ignore="AllowBackup">
17-
<activity android:name=".detail.DetailActivity"
18-
android:theme="@style/NoActionBar">
19-
</activity>
20-
<activity android:name=".MainActivity">
17+
18+
<activity android:name=".splash.SplashActivity"
19+
android:theme="@style/NoActionBar.Dark">
2120
<intent-filter>
2221
<action android:name="android.intent.action.MAIN" />
2322

2423
<category android:name="android.intent.category.LAUNCHER" />
2524
</intent-filter>
2625
</activity>
26+
27+
<activity
28+
android:name=".detail.DetailActivity"
29+
android:theme="@style/NoActionBar"/>
30+
31+
<activity android:name=".MainActivity"/>
2732
</application>
2833

2934
</manifest>

app/src/main/assets/c-bot.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

app/src/main/assets/game-controller.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)