GithubHelp home page GithubHelp logo

tusharrjadhav / viaplayapi Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 230 KB

Exploring ViaPlay open API to show its Pages on Android application using Android "Room" Database Object Mapping library, Android lifecycle component ViewModel using MVVM design pattern

Java 100.00%

viaplayapi's Introduction

ViaPlayAPI

Exploring ViaPlay open API to show its Pages on Android application using Android "Room" Database Object Mapping library, Android lifecycle component ViewModel using MVVM design pattern

This Application is mainly focus on Android Lifecycle compoent ViewModel used for MVVM design pattern.

I have create App which uses ViaPlay API to show its data as “Page” which has different “Sections”. Each section has different sub sections. This app is worked on both mode online and offline mode.

I have created two activity, with simple UI as Recycle view.

Project APIs:

  • UX component:

      MainActivity - For Root page
      SectionPageActivity - For Section Pages
      RecycleView - For showing section list
    
  • Network component

      Retrofit API - For network connection.
    
  • Database component

      Room - persistence library provides an abstraction layer over SQLite
    
  • Lifecycle component

      ViewModel - Providing data to View and handling events from View
    
  • Unit Testing

      PageViewModelTest
    
  • Instrumentation Test

      PageDaoTest 
    

Resources:

Android-architecture : https://github.com/googlesamples/android-architecture/tree/todo-mvvm-live/

viaplayapi's People

Contributors

tusharrjadhav avatar

Stargazers

 avatar

Watchers

James Cloos 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.