Fabula

所属分类:编程语言基础
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2020-07-20 16:57:09
上 传 者sh-1993
说明:  Fabula是一个示例新闻Android应用程序,旨在演示Kotlin、Coroutines、Flow、Koin、Archite等现代Android工具的使用...,
(Fabula is a sample News Android Application??built to demonstrate use of Modern Android tools like Kotlin, Coroutines, Flow, Koin, Architecture Components, MVVM, Room, Retrofit, Moshi))

文件列表:
LICENSE (1074, 2020-06-25)
app/ (0, 2020-06-25)
app/build.gradle (3954, 2020-06-25)
app/proguard-rules.pro (751, 2020-06-25)
app/src/ (0, 2020-06-25)
app/src/androidTest/ (0, 2020-06-25)
app/src/androidTest/java/ (0, 2020-06-25)
app/src/androidTest/java/com/ (0, 2020-06-25)
app/src/androidTest/java/com/sai/ (0, 2020-06-25)
app/src/androidTest/java/com/sai/fabula/ (0, 2020-06-25)
app/src/androidTest/java/com/sai/fabula/ExampleInstrumentedTest.kt (656, 2020-06-25)
app/src/main/ (0, 2020-06-25)
app/src/main/AndroidManifest.xml (823, 2020-06-25)
app/src/main/java/ (0, 2020-06-25)
app/src/main/java/com/ (0, 2020-06-25)
app/src/main/java/com/sai/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/FabulaApp.kt (1646, 2020-06-25)
app/src/main/java/com/sai/fabula/State.kt (382, 2020-06-25)
app/src/main/java/com/sai/fabula/api/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/api/FabulaApiService.kt (410, 2020-06-25)
app/src/main/java/com/sai/fabula/api/model/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/api/model/Article.kt (463, 2020-06-25)
app/src/main/java/com/sai/fabula/api/model/NewsResult.kt (293, 2020-06-25)
app/src/main/java/com/sai/fabula/api/model/Source.kt (143, 2020-06-25)
app/src/main/java/com/sai/fabula/database/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/database/FabulaNewsDatabase.kt (1154, 2020-06-25)
app/src/main/java/com/sai/fabula/database/NewsRepository.kt (2622, 2020-06-25)
app/src/main/java/com/sai/fabula/database/dao/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/database/dao/ArticlesDao.kt (693, 2020-06-25)
app/src/main/java/com/sai/fabula/database/model/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/database/model/Article.kt (555, 2020-06-25)
app/src/main/java/com/sai/fabula/di/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/di/FabulaApiModule.kt (595, 2020-06-25)
app/src/main/java/com/sai/fabula/di/FabulaDbModule.kt (244, 2020-06-25)
app/src/main/java/com/sai/fabula/ui/ (0, 2020-06-25)
app/src/main/java/com/sai/fabula/ui/activity/ (0, 2020-06-25)
... ...

Fabula

License API

Fabula is a sample News Android Applicationbuilt to demonstrate use of Modern Android tools.


## About Fabula loads the top news articles from the **News Api** and stores it in persistent storage. News articles will be always loaded from the local database. Remote data from the API and the local data in the database are always synchronized. - Fabula is offline capable. - Material UI with dark theme support. * Here is the [API](https://newsapi.org/) being used. ## Built with - [Kotlin](https://kotlinlang.org/) - First class and official programming language for Android development. - [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) - For asynchronous and more.. - [Flow](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/) - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception. - [Android Architecture Components](https://developer.android.com/topic/libraries/architecture) - Collection of libraries that help you design robust, testable, and maintainable apps. - [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - Data objects that notify views when the underlying database changes. - [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores UI-related data that isn't destroyed on UI changes. - [ViewBinding](https://developer.android.com/topic/libraries/view-binding) - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views. - [Room](https://developer.android.com/topic/libraries/architecture/room) - SQLite object mapping library. - [Retrofit](https://square.github.io/retrofit/) - A type-safe HTTP client for Android and Java. - [RxJava](https://github.com/ReactiveX/RxAndroid) - [Moshi](https://github.com/square/moshi) - A modern JSON library for Kotlin and Java. - [Koin](https://insert-koin.io/) - A pragmatic lightweight dependency injection framework for Kotlin developers. Written in pure Kotlin using functional resolution only: no proxy, no code generation, no reflection! - [Moshi Converter](https://github.com/square/retrofit/tree/master/retrofit-converters/moshi) - A Converter which uses Moshi for serialization to and from JSON. - [Coil-kt](https://coil-kt.github.io/coil/) - An image loading library for Android backed by Kotlin Coroutines. - [Material Components for Android](https://github.com/material-components/material-components-android) - Modular and customizable Material Design UI components for Android ## Architecture This app uses [***MVVM (Model View View-Model)***](https://developer.android.com/jetpack/docs/guide#recommended-app-arch) architecture. ![](https://developer.android.com/topic/libraries/architecture/images/final-architecture.png) ## Contact If you need any help, shoot me an email at **prajnan.sai@gmail.com** ## License ``` MIT License Copyright (c) 2020 Sai Prajnan Emani Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ```

近期下载者

相关文件


收藏者