Skip to content

News/Flip is a sample News Android application 📱 built to show the use of Modern Android development tools - (Kotlin, Coroutines, Architecture Components, Navigation Component, MVVM, ROOM, Retrofit, Preference Datastore, NDK, WebKit, Material Components, Firebase Crashlytics and Performance ).

Notifications You must be signed in to change notification settings

Debanshu777/News-Flip

Repository files navigation

News/Flip

A simple news app getting data from the news api and showcasing using the MVVM architechture pattern. Following a single actvity design, Coroutines, NDK to store API Key, Retrofit, Navigation Components, Webkit, Preferences DataStore, Lottie animations, Linting, Firebase Crashlytics & Performance Monitoring

Setting Up Your Own

  • Add your API KEY from newsapi.org it is free and easy can be obtained
    ../src/main/jni/api-keys.c
    
    #include <jni.h>
    
    JNIEXPORT jstring JNICALL
    Java_com_debanshu777_newsapp_util_Constant_00024Companion_getKeys(JNIEnv *env, jobject thiz) {
      return (*env)->NewStringUTF(env, "<YOUR-API-KEY>");
    }
    
  • Add file "github.properties" add two variable
   gpr.usr = ADD-GITHUB-USER-ID     //get id from the link https://api.github.com/users/GITHUB-USER-NAME <br>
   gpr.key = GITHUB-PERSONAL-TOKEN  //Make a github personal access token Settings/ Developer settings/Personal access tokens
  • For Firebase Integration build a new project If you havn't in firebase-console, add your add get the "google-services.json" replace the already present. Refer to this video for more info

Want to Contribute ?

Awesome! If you want to contribute to this project, you're always welcome! Have any questions, doubts or want to present your opinions, views? You're always welcome. You can mail me at [email protected] or make an issue.

Contributors

License

Copyright 2021 Debanshu Datta

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.

About

News/Flip is a sample News Android application 📱 built to show the use of Modern Android development tools - (Kotlin, Coroutines, Architecture Components, Navigation Component, MVVM, ROOM, Retrofit, Preference Datastore, NDK, WebKit, Material Components, Firebase Crashlytics and Performance ).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages