Code Monkey home page Code Monkey logo

fes-mycityapp's Introduction

read_me_banner

Lessons Learned

I built this app in order to learn the following topics:

  • MVVM architecture

    • Preserve user state across device configuration changes
    • Maintain Business Logic outside of composable functions
    • Apply seperates of concerns principle
    • Implement Ui States.
  • Adpative UI

    • Build an adaptive layout to support multiple screen sizes.
  • Jetpack Compose Navigation

    • Navigates between multiple screens.
    • Sharing data with another app using intents.
    • Manipulate the back stack to navigate to previous screens.
  • and more....

Prerequisites

It's recommended to have these prerequisites for completing this project:

  1. Familiar with how to create UI layouts in Compose, and how to make them adaptive to different screen sizes
  2. Ability to add and implement the Jetpack Navigation component with Compose
  3. Ability to implement an app with the recommended app architecture.

Low-Fi

low-fi

  • I made a simple model that provides me a basic idea of what the app looks like.
  • Later on, I sketch some arrows to illustrate the navigation of the app.
  • Finally, I implement the logic and layout of the app using Kotlin and Jetpack Compose library.

Showcase

Demo

I use when statements:

To assign the appropriate type of navigation bar for each screen size

#Code animation


To create a composable detail screen for each navigation bar

animation

Screenshots

Compact Size Devices (ex: phone in portrait mode)

screenshots01


Medium Size Devices (ex: foldable in portrait mode)

screenshots02


Expanded Size Devices (ex: Tablets)

screenshots03


Disclaimer

  • I made this app for educational purposes only.
  • I include some rough data and it is inaccurate.

Links

Get Started? The main resources of this project:

codelab github

Any Question? Contact Me:

linkedin github

fes-mycityapp's People

Contributors

nabilbouzinedev avatar

Watchers

 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.