Simple photo viewer app supporting these features
- List items with infinite scroll
- Show details, Like/Unlike an item
- Search items
- Login(Oauth2)
List | Photo Detail | Collection Detail | UserDetail | Search |
---|---|---|---|---|
- Architecture
- MVVM architecture using Android Jetpack
- LiveData, ViewModel, DataBinding, Paging
- single-activity using Navigation Coomponent
- MVVM architecture using Android Jetpack
- Tech-stack
- Tests
- Truth - make unit test more readable
- mockito, mockito-kotlin - mock or stub test depndencies
This app using 3rd party's free api for backend. So you need to register this api to get accesskey and secretkey :(
If you get your accesskey and secretkey, create secret.properties
file in project root like following.
accesskey={your access key comes here}
secretkey={your secret key comes here}
Then these values are read in compiltime and used when this app calling api.
If you want to try login-needed feature (ex. like/unlike photo, edit user info), Go your app page and edit "Redirect URI & Permissions" section
- add
ishikota://mysite.com/callback
to "Redirect URI" section - check all items (ex. "Public access", "Write likes access")