Sample Android App
The sample app uses Github's GraphQL APIs to query the Simform's Github repositories and list them using compose views in the Android application.
Tech stack
Architecture
- MVVM
Building the sample
First, clone the repo:
git clone https://github.com/SimformSolutionsPvtLtd/android_simform_sample_app
Android Studio (Android Studio Electric Eel | 2022.1.1 - Recommended)
- Open Android Studio and select
File -> Open...
or from the Android Launcher selectOepn
and navigate to the root directory of cloned repo and clickopen
- GitHub PAT
- Create GitHub PAT with
public_repo
access - Put the PAT in project level
local.properties
with keyGITHUB_TOKEN
as below formatGITHUB_TOKEN="TOKEN"
- Create GitHub PAT with
- A Gradle sync should start, but you can force a sync and build the 'app' module as needed.
Running the Sample App
Connect an Android device to your development machine or use android emulator provided by Andorid studio
Android Studio
- Select the device you wish to run the app on and hit run
Output screenshots
Light mode | Dark mode |
---|---|