Giter Site home page Giter Site logo

hum4noid / master-detail Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 1.1 MB

An example Android App that makes use of Jetpack Navigation Components for both Tablets and Phones

Kotlin 100.00%
jetpack jetpack-navigation master-detail fragments kotlin viewmodel-livedata navgraphs fragment-inside-fragment passing-data-between-fragments single-activity-pattern

master-detail's Introduction

Master Detail Pattern with Jetpack Navigation Component

This is an implementation of Master Detail UI pattern where phones utilize a regular layout but use the extra space available for other views if the space permits.

Consists of the Following Architectural Patterns and Concepts:

  • Single Activity Pattern
  • Data Binding and Binding Adapters
  • ViewModel Architecture
  • Different Layouts for Portrait and Landscape
  • Different Layouts for Phones and Tablets
  • Jetpack Navigation Component
  • Fragment within a Fragment
  • Inter-Fragment Communication via ViewModel (Passing Data Between Fragments)
  • Dialog and Regular Fragments via Navigation Graphs
  • Bottom Navigation Bar
  • Bottom Sheet Fragment (Modal Bottom Sheets)
  • Multiple Navigation Graphs

Demo APK

Find the demo apk in releases

Phone Screenshots


Tab/Large Screen Screenshots

Home Fragment List Master Fragment with Detail Fragment Modal Input Bottom Sheet

master-detail's People

Contributors

hum4noid avatar

Stargazers

 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.