├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── gradle.xml ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── safaricom │ │ └── composeserverdrivenui │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── safaricom │ │ │ └── composeserverdrivenui │ │ │ ├── ComposeServerDrivenUI.kt │ │ │ ├── data │ │ │ ├── api │ │ │ │ └── ViewApi.kt │ │ │ ├── apiresponse │ │ │ │ ├── Content.kt │ │ │ │ ├── Data.kt │ │ │ │ └── MainViewApiResponse.kt │ │ │ └── repository │ │ │ │ └── SampleDataRepository.kt │ │ │ ├── di │ │ │ ├── ActivityModule.kt │ │ │ ├── ApiModiule.kt │ │ │ ├── RepositoryModule.kt │ │ │ └── ViewModelModule.kt │ │ │ ├── domain │ │ │ └── SampleDataRepository.kt │ │ │ ├── sdui │ │ │ ├── SDUIDisplayManager.kt │ │ │ ├── components │ │ │ │ ├── BigCard.kt │ │ │ │ ├── ButtonCard.kt │ │ │ │ └── ImageCarousel.kt │ │ │ └── layoutcontainers │ │ │ │ ├── HorizontalScrollable.kt │ │ │ │ └── VerticalScrollable.kt │ │ │ └── ui │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Shape.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_baseline_burst_mode_24.xml │ │ ├── ic_baseline_card_giftcard_24.xml │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ └── test │ └── java │ └── com │ └── safaricom │ └── composeserverdrivenui │ └── ExampleUnitTest.kt ├── arts └── i.jpeg ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/safaricom/composeserverdrivenui/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/androidTest/java/com/safaricom/composeserverdrivenui/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ComposeServerDrivenUI.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ComposeServerDrivenUI.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/data/api/ViewApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/data/api/ViewApi.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/Content.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/Content.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/Data.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/Data.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/MainViewApiResponse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/data/apiresponse/MainViewApiResponse.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/data/repository/SampleDataRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/data/repository/SampleDataRepository.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/di/ActivityModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/di/ActivityModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/di/ApiModiule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/di/ApiModiule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/di/RepositoryModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/di/RepositoryModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/di/ViewModelModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/di/ViewModelModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/domain/SampleDataRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/domain/SampleDataRepository.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/SDUIDisplayManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/SDUIDisplayManager.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/BigCard.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/BigCard.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/ButtonCard.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/ButtonCard.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/ImageCarousel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/components/ImageCarousel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/layoutcontainers/HorizontalScrollable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/layoutcontainers/HorizontalScrollable.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/sdui/layoutcontainers/VerticalScrollable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/sdui/layoutcontainers/VerticalScrollable.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/MainViewModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Color.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Shape.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Shape.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Theme.kt -------------------------------------------------------------------------------- /app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/java/com/safaricom/composeserverdrivenui/ui/theme/Type.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_burst_mode_24.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/drawable/ic_baseline_burst_mode_24.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_card_giftcard_24.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/drawable/ic_baseline_card_giftcard_24.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/test/java/com/safaricom/composeserverdrivenui/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/app/src/test/java/com/safaricom/composeserverdrivenui/ExampleUnitTest.kt -------------------------------------------------------------------------------- /arts/i.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/arts/i.jpeg -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmosKorir/ComposeServerDrivenUI/HEAD/settings.gradle --------------------------------------------------------------------------------