Access the latest APK for Compose Actors from the link below.
- Move material design components and dependencies to separate design-system module
- Extend Konsist tests for all design system component usages.
- Introduce common preview annotations for composables.
- Add new feature seasons or series information to app.
- Include seasons in home tabs navigation.
- Allow adding seasons to favorites.
- Move favorites section from home tab to new place (Restructure all screen flows).
- Collapsable TopBars, BottomBars, Scroll effects, new animations.
- Write tests for app navigation for all composable destinations.
Actors | Movies | Favorites |
---|---|---|
![]() |
![]() |
![]() |
Actor | Movie |
---|---|
![]() |
![]() |
Add to favorites | Favorites | Details |
---|---|---|
![]() |
![]() |
![]() |
Search capabilities |
---|
![]() |
Inspired from
JetCaster | JetNews | JetSnack |
---|
Follows new architecture guide updated on 14 December 2021 from revamped guide to app architecture.
Network | Repository | ViewModels | Screens | |||
---|---|---|---|---|---|---|
Data ππ ππ |
---> | Source π |
--->Suspend |
Coroutines β°β° |
--->State |
Composables π±π± π±π± |
π‘ App Overview Compose Blog
Android app built with Jetpack Compose
shows actors information fetched from Tmdb Api.
You may install and try to understand the code better, but make sure you provide your own Tmdb api
key for data to show up in directory /utils/ApiKey.kt
.
Dark | Light |
---|---|
![]() |
![]() |
root
βββ core
β βββ cache
β βββ database
β βββ network
βββ data
β βββ datasource
β β βββ database
β β βββ mocks
β βββ feature_1
β β βββ model
β β βββ paging
β β βββ remote
β β βββ repository
β βββ feature_n
β β βββ model
β β βββ remote
β β βββ repository
βββ di
β βββ module_1
β βββ module_n
βββ ui
β βββ animation
β βββ navigation
β βββ screen
β β βββ feature_1
β β βββ feature_n
β βββ components
β βββ theme
βββ utils
βββ domain
| βββ feature_1
| βββ feature_n
βββ MainActivity.kt
βββ Application.kt
Followed theming and color practices from Material Theme Builder Web Tool. Learn more here
// Light theme colors
val light_primary = Color(0xFFaa370c)
val light_onPrimary = Color(0xFFffffff)
val light_background = Color(0xFFFFFAF9)
val light_onBackground = Color(0xFF211a18)
val light_surface = Color(0xFFFFE6DB)
val light_onSurface = Color(0xFF211a18)
// Dark theme colors
val dark_primary = Color(0xFFffb59c)
val dark_onPrimary = Color(0xFF5f1600)
val dark_background = Color(0xFF211a18)
val dark_onBackground = Color(0xFFede0dc)
val dark_surface = Color(0xFF302522)
val dark_onSurface = Color(0xFFede0dc)
val LightColorPalette = lightColors(
primary = light_primary,
onPrimary = light_onPrimary,
background = light_background,
onBackground = light_onBackground,
surface = light_surface,
onSurface = light_onSurface,
)
val DarkColorPalette = darkColors(
primary = dark_primary,
onPrimary = dark_onPrimary,
background = dark_background,
onBackground = dark_onBackground,
surface = dark_surface,
onSurface = dark_onSurface
)
Home | Search | Detail |
---|---|---|
![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() |
---|
Reveal effect animations in compose jetpack android |
Read article |
![]() |
---|
Compose and build android app with new architecture principles |
Read article |
![]() |
---|
Custom shape animations pulsating circles on canvas in compose android |
Read article |
![]() |
---|
Search with TextField in list Compose Android Jetpack |
Read article |
Jetpack Compose
is Androidβs modern toolkit for building native UI. It enables you to quickly
bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.
Understanding to implement own Theme
Shape
Typography
Color
has became bit easier by
referring to lot of official jetpack compose samples which are available in GitHub.
Best of all we got to do this in Kotlin
way. Excited and long way to go from here.
Check the official JetCaster example from Android Team, I have used their code to generate Swatch with Palette Api in my Detail screen.
Images and all information in app belongs to and taken from Tmdb Api. I do not own any of it and only made use of it for this app demonstration purpose.
Obtain your own Tmdb Api Key from here
Copyright 2021 Rajasekhar K E
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.