SportsJetpackCompose

所属分类:Kotlin编程
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2023-08-18 17:46:49
上 传 者sh-1993
说明:  查看体育新闻、分数和视频(WIP)的应用程序,
(An app to check sports news, scores, and videos (WIP),)

文件列表:
.idea/ (0, 2023-08-19)
.idea/codeStyles/ (0, 2023-08-19)
.idea/codeStyles/Project.xml (3364, 2023-08-19)
.idea/codeStyles/codeStyleConfig.xml (149, 2023-08-19)
.idea/compiler.xml (169, 2023-08-19)
.idea/deploymentTargetDropDown.xml (548, 2023-08-19)
.idea/gradle.xml (680, 2023-08-19)
.idea/inspectionProfiles/ (0, 2023-08-19)
.idea/inspectionProfiles/Project_Default.xml (2095, 2023-08-19)
.idea/misc.xml (468, 2023-08-19)
.idea/vcs.xml (180, 2023-08-19)
MainScreen.png (662301, 2023-08-19)
ScoreBoard.png (648259, 2023-08-19)
ScoreboardScreen2.png (188427, 2023-08-19)
Video.png (711898, 2023-08-19)
app/ (0, 2023-08-19)
app/build.gradle (5087, 2023-08-19)
app/google-services.json (1043, 2023-08-19)
app/proguard-rules.pro (750, 2023-08-19)
app/src/ (0, 2023-08-19)
app/src/androidTest/ (0, 2023-08-19)
app/src/androidTest/java/ (0, 2023-08-19)
app/src/androidTest/java/com/ (0, 2023-08-19)
app/src/androidTest/java/com/sgut/ (0, 2023-08-19)
app/src/androidTest/java/com/sgut/android/ (0, 2023-08-19)
app/src/androidTest/java/com/sgut/android/nationalfootballleague/ (0, 2023-08-19)
app/src/androidTest/java/com/sgut/android/nationalfootballleague/ExampleInstrumentedTest.kt (705, 2023-08-19)
app/src/debug/ (0, 2023-08-19)
app/src/debug/ic_launcher-playstore.png (421019, 2023-08-19)
app/src/debug/res/ (0, 2023-08-19)
app/src/debug/res/drawable/ (0, 2023-08-19)
app/src/debug/res/drawable/ic_launcher_background.xml (4867, 2023-08-19)
app/src/debug/res/mipmap-anydpi-v26/ (0, 2023-08-19)
app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml (268, 2023-08-19)
app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml (268, 2023-08-19)
app/src/debug/res/mipmap-hdpi/ (0, 2023-08-19)
... ...

# Sports App A work-in-progress Sports App This project is a personal sandbox of sorts, experimenting with the latest libraries and tools. These include: -100% Kotlin -UI wwritten in Jetpack Compose -Dependacy Injections with Hilt -AGSL rendering -Compose navigation For navigation in the app -ViewModel The ui layer uses the viewmodel pattern -ExoPlayer For playing videos -Coroutines For handling async work -Retrofit For networking tasks 100% Jetpack compose && MVVM Architecture for sports. UDF & reactice programing with Kotlin Flow API App State & ScreeUIStates Each UI 'screen' has its own ViewModel, which exposes a single StateFlow containing the entire view state. Each ViewModel is responsible for subscribing to any data streams required for the view, as well as exposing functions which allow the UI to send events. This pattern is used across the different screens: The ViewModel is implemented as ScreenViewModel, which exposes a StateFlow for the UI to observe. ScreenViewState contains the complete view state for the screen as an @Immutable data class. The UI uses ScreenViewModel, and observes it's ScreenViewState as Compose State, using collectAsStateWithLifecycle(): The Repository class is responsible for handling the data fetching of all information: ![Video](https://github.com/salgut408/SportsJetpackCompose/assets/61568828/f4bb542e-7959-43aa-8372-81efed686536) ![ScoreboardScreen2](https://github.com/salgut408/SportsJetpackCompose/assets/61568828/a2eba9e1-6689-4e55-aa1a-d5163cf0e1a9) ![ScoreBoard](https://github.com/salgut408/SportsJetpackCompose/assets/61568828/58d9a86f-7f8d-4c73-89b4-cd9094a78125) ![MainScreen](https://github.com/salgut408/SportsJetpackCompose/assets/61568828/e9e5b7e8-ea16-4ba3-9b11-a3693985bfae)

近期下载者

相关文件


收藏者