Git Product home page Git Product logo

debanshu777 / news-flip Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 8.14 MB

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 ).

Kotlin 99.35% Makefile 0.29% C 0.36%
mvvm-architecture room-persistence-library datastore-android ktlint ndk

news-flip's Introduction

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.

news-flip's People

Contributors

debanshu777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.