NewsAppMVVM

所属分类:编程语言基础
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2020-12-27 15:25:42
上 传 者sh-1993
说明:  NewsApp是使用现代Android开发(架构组件、MVVM、Kotlin、Coroutines、Retrofit、Room、D......)构建的示例新闻应用程序...,
(NewsApp is a sample news app built using Modern Android Development (Architecture Components, MVVM, Kotlin, Coroutines, Retrofit, Room, Dagger-Hilt))

文件列表:
.idea/ (0, 2020-12-27)
.idea/codeStyles/ (0, 2020-12-27)
.idea/codeStyles/Project.xml (4353, 2020-12-27)
.idea/codeStyles/codeStyleConfig.xml (142, 2020-12-27)
.idea/jarRepositories.xml (1052, 2020-12-27)
.idea/runConfigurations.xml (564, 2020-12-27)
app/ (0, 2020-12-27)
app/build.gradle (4594, 2020-12-27)
app/proguard-rules.pro (750, 2020-12-27)
app/src/ (0, 2020-12-27)
app/src/androidTest/ (0, 2020-12-27)
app/src/androidTest/java/ (0, 2020-12-27)
app/src/androidTest/java/com/ (0, 2020-12-27)
app/src/androidTest/java/com/azat/ (0, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/ (0, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/ExampleInstrumentedTest.kt (676, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/HiltTestRunner.kt (659, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/LiveDataUtilAndroidTest.kt (1986, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/db/ (0, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/db/ArticleDaoTest.kt (2370, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/di/ (0, 2020-12-27)
app/src/androidTest/java/com/azat/newsappmvvm/di/TestAppModule.kt (852, 2020-12-27)
app/src/main/ (0, 2020-12-27)
app/src/main/AndroidManifest.xml (825, 2020-12-27)
app/src/main/java/ (0, 2020-12-27)
app/src/main/java/com/ (0, 2020-12-27)
app/src/main/java/com/azat/ (0, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/ (0, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/BaseApplication.kt (346, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/db/ (0, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/db/ArticleDao.kt (611, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/db/ArticleDatabase.kt (559, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/db/Converters.kt (460, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/di/ (0, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/di/DatabaseModule.kt (1012, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/di/NetworkModule.kt (1225, 2020-12-27)
app/src/main/java/com/azat/newsappmvvm/model/ (0, 2020-12-27)
... ...

# NewsAppMVVM NewsApp is a sample news app built using Modern Android Development (Architecture Components, MVVM, Kotlin, Coroutines, Retrofit, Room, Dagger-Hilt) This is a simple news app which uses [NewsAPI](https://newsapi.org/) to fetch top news headlines from the API. This app also includes Room DB you can add a news or delete it from locale storage. ## 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.. - [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. - [Room](https://developer.android.com/topic/libraries/architecture/room) - SQLite object mapping library. - [Retrofit 2](https://square.github.io/retrofit/) - A type-safe HTTP client for Android and Java. - [GSON Converter](https://github.com/square/retrofit/tree/master/retrofit-converters/gson) - A Converter which uses Gson for serialization to and from JSON. - [Dagger-Hilt](https://dagger.dev/hilt/) - For dependency injection. ## 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) ## API key You'll need to provide API key to fetch the news from the [NewsAPI](https://newsapi.org/) ## License ```xml Designed and developed by 2020 theazat (Azat Sayan) 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 http://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. ```

近期下载者

相关文件


收藏者