Skip to content

Android application that fetches and displays Github repos on a CardLayout following Android Jetpack app architecture guidelines (https://developer.android.com/jetpack/guide)

License

Notifications You must be signed in to change notification settings

gsalinaslopez/GeoitHub

Repository files navigation

GeoitHub

Android app structured using Android Jetpack Architecture Components, more specifically, CardLayout and volleyHttp request, to fetch and display all GitHub repos from an specified account.

This application is intended to demonstrate Android developers guide Common architectural principles.

Usage

To display the repos on a card layout on MainFragment.kt substitute GITHUB_ACCOUNT_USERNAME:

viewModel = ViewModelProviders.of(
                this,
                mainViewModelFactory {
                    MainViewModel(
                        "https://api.github.com/users/GITHUB_ACCOUNT_USERNAME/repos",
                        context
                    )
                }
        ).get(MainViewModel::class.java)

Demo

app screenshot

About

Android application that fetches and displays Github repos on a CardLayout following Android Jetpack app architecture guidelines (https://developer.android.com/jetpack/guide)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages