Skip to content

Source code app for Dicoding Fundamental Aplikasi Android

Notifications You must be signed in to change notification settings

a8ghany/GitHubUserApp

Repository files navigation

GitHub-DicodingBFAA

Submission untuk kelas Belajar Fundamental Aplikasi Android di Dicoding. Bahasa yang digunakan adalah Kotlin. Submission ini adalah sebuah aplikasi yang bertemakan GitHub User.

Perhatian!!!

CAUTION : Repository ini dibuat sebagai bahan refrensi untuk Kelas Dicoding Belajar Fundamental Aplikasi Android agar dapat membantu teman-teman dalam menyelesaikan submission yang sedang dikerjakan. Ingat untuk tidak mengcopy-paste saja tanpa memahami skema programmingnya.

Custom UI

Preview

If you want to clone this app

You need to update GitHub token in Constants class at com.gnacoding.submissionbfaa.utils

object Constants {
    const val GITHUB_TOKEN = "put_your_github_token_here"
    
    ...
}

Secure Token 🛡️

Or you can secure your token, you can put in local.properties then rebuild the project. Example:

GITHUB_TOKEN = ghp_123456789

then add this to build.gradle(app) to access your token from local.properties:

android {
    ...
    
    defaultConfig {
        ...
        Properties properties = new Properties()
        properties.load(project.rootProject.file("local.properties").newDataInputStream())

        buildConfigField "String", "GITHUB_TOKEN", "\"${properties.getProperty('GITHUB_TOKEN')}\""
    }
    ...
}

Don't forget to sync the gradle and rebuild the project. Last, you can access it in Constants.kt

object Constants {
    const val GITHUB_TOKEN = BuildConfig.GITHUB_TOKEN
    
    ...
}

Certificate

Download Certificate

Author

Abdul Ghany At-Tirmidzi - aghany08@gmail.com

About

Source code app for Dicoding Fundamental Aplikasi Android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages