An example concepts of MVVM and Kotlin. Display, Filter & Sort the given restaurants from assets with Jetpack Compose and AAC

Overview

Restaurants - Jetpack Compose

Restaurants - Jetpack Compose

An example concepts of MVVM and Kotlin. Display, Filter & Sort the given restaurants from assets with Jetpack Compose and AAC.

The Goal

Visualize a restaurant list with filtering based on name and sorting value to sort the list.

Features 🔥

  • Demo is memory leak-free (leakCanary).
  • UseCase / Repository / DataSource logics are best practises from clean architecture.
  • Long-running operations(sorting in extensive lists) are calculated in IO Dispatcher.
  • Furthermore, good applications deserves good logging mechanism,so Timber added.
  • Android Architecture Components
  • Code quality, readability and consistent code style (Detekt).
  • Multi-module architecture
  • Jetpack Compose
  • Kotlin Flow
  • Unit test (JUnit)
  • Instrumentation Test(Compose)
  • Both vertical / portrait support
  • Context-configuration changes retain outgoing requests.

Restaurants - Jetpack Compose Restaurants - Jetpack Compose Restaurants - Jetpack Compose

TODOs

  • Implement more compose androidTests
  • Implement navigation component & detail screen

Contribution

I kindly value your contribution! Let's get started ✌️

Contact

License

Copyright 2021 Mehmet Burak Akgün

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.
You might also like...
Jetpack Compose Desktop Galaxy Example
Jetpack Compose Desktop Galaxy Example

Compose-StarWars Compose-StarWar 3D Space particle System build using Canvas API Jetpack Compose Desktop 🚀 How to Run From gradle tab from right-hand

Safaricom internal session  on Server driven Ui. This is an example of Server driven UI with jetpack Compose
Safaricom internal session on Server driven Ui. This is an example of Server driven UI with jetpack Compose

Jetpack Compose Server Driven UI Server Driven UI This is a demo application for a session at Safaricom to demostrate Server driven UI using Jetpack C

Example from effect Rain Matrix with Jetpack Compose
Example from effect Rain Matrix with Jetpack Compose

MatrixRainCompose Example from effect Rain Matrix with JetpackCompose For more i

ExoPlayerComposeSample - Example for how we can use the ExoPlayer with Jetpack Compose

ExoPlayer Example with Jetpack Compose This repository demonstrates how we can u

Taxi - an example of how to create an introductory screen using Jetpack Compose
Taxi - an example of how to create an introductory screen using Jetpack Compose

Taxi - an example of how to create an introductory screen using Jetpack Compose

LinkU-Android - Jetpack Compose example.

LinkU-Android - Jetpack Compose example.

Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cached data by Room
Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cached data by Room

Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cached data by Room

Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cached data by Room
Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cached data by Room

Mobile Banking Android App made by Jetpack Compose Components with Kotlin, MVVM Pattern, Multi Module, Navigation, Hilt, Coroutines, Retrofit and cach

A sample project in Kotlin to demonstrate Jetpack Compose, MVVM, Coroutines, Hilt, Room, Coil, Retrofit, Moshi, Leak Canary and Repository pattern

Jetpack-Compose-Boilerplate This repository contains a sample project in Kotlin to demonstrate Jetpack Compose, MVVM, Coroutines, Hilt, Room, Coil, Re

Comments
  • Fix : Refreshing issue

    Fix : Refreshing issue

    Pull to refresh should clear all applied filters and sorting criteria, and also, it should read from resources again.

    It doesn't read from assets right now.

    WIP 
    opened by mbakgun 0
Owner
Burak Akgün
I am a five-year Android Developer in the industry with over 6 years of experience in programming.
Burak Akgün
Carol 12 Sep 25, 2022
A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose

Authentication A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose Scree

Felix Kariuki 5 Dec 29, 2022
🍂 Jetpack Compose image loading library which can fetch and display network images using Glide, Coil, and Fresco.

Landscapist ?? Jetpack Compose image loading library which can fetch and display network images using Glide, Coil, Fresco Usecase You can see the use

Jaewoong Eum 1.4k Jan 1, 2023
A 7 and 14 segment display for Android built with Jetpack Compose

SegmentedDisplay A 7-segment and 14-segment display for Android build with Jetpack Compose Customizable Highly customisable. Hook up to a data stream

Rab Ross 5 May 23, 2022
ComposeImageBlurhash is a Jetpack Compose component with the necessary implementation to display a blurred image while the real image is loaded from the internet. Use blurhash and coil to ensure good performance.

compose-image-blurhash ComposeImageBlurhash is a Jetpack Compose component with the necessary implementation to display a blurred image while the real

Orlando Novas Rodriguez 24 Nov 18, 2022
A simple tool to display a text tree with Jetpack Compose🌲

A simple tool to display a text tree with Jetpack Compose??

Takahiro Menju 50 Oct 5, 2022
Compose-table is a funny compose project to display multiple rows and columns.

Readme Compose-table is a funny compose project to display multiple rows and columns. You can scroll in any direction ( vertically and horizontally) S

Jack Chen 3 Nov 30, 2022
Navigation-Compose - A sample to showcase Kotlin, MVVM, Hilt, Coroutines, StateFlow, Jetpack compose

Navigation-Compose A sample to showcase Kotlin, MVVM, Hilt, Coroutines, StateFlo

Mohammadali Rezaei 6 Jul 13, 2022
Example Jetpack Compose Android App, that uses the newest mechanisms, like StateFlow, SharedFlow, etc. to manage states and handle events. ViewModel, UI and Screenshot tests included :)

AndroidMVIExample Example Jetpack Compose Android App, that uses the newest mechanisms, like StateFlow, SharedFlow, etc. to manage states and handle e

Patryk Kosieradzki 55 Nov 18, 2022
Forget about bunch of XML files for maintaining UIs. Jetpack Compose is Android’s modern toolkit for building native UI. Here is a small example to get started.

Jetpack Compose Sample Description This repository is to get started with new Jetpack Compose Toolkit for Android. By using Jetpack Compose you no nee

Simform Solutions 39 Nov 10, 2022