Skip to content

Clone version from sample-food-truck, written in Comose UIs. No additional dependencies, built purely with Jetpack libraries. Custom layout and animation focused.

Notifications You must be signed in to change notification settings

phatnhse/SampleFoodTruckJC

Repository files navigation

SampleFoodTruckJC

This project is aimed to demonstrate the modern declarative android Compose UIs.

This is for educational purposes only.

Note

This is a clone version from sample-food-truck which was written in SwiftUI.

The project was presented and associated with WWDC22 session 110492.

For quick installation, please grab the latest version in the Release section.

Tech stack

  • Compose: Jetpack Compose simplifies and accelerates UI development on Android. Write less code and use powerful tools and intuitive Kotlin APIs.
  • Lifecycle: Observe Android lifecycles and handle UI states upon the lifecycle changes.
  • Navigation: Navigate between composables while taking advantage of the Navigation component’s infrastructure and features.
  • ViewModel: Manages UI-related data holder and lifecycle aware. Allows data to survive configuration changes such as screen rotations.
  • Animation Library: Explore powerful and extensible APIs that make it easy to implement various animations in your app's UI.
  • Custom Layout: Build realistic and complex layout with Layout and Modifier.
  • Material You: Material 3 is the latest version of Google’s open-source design system. Design and build beautiful, usable products with Material 3.


Custom Layouts and Animations

Name Screenshot
BrandHeader
DonutView
DonutBoxView
DonutStackView
DiagonalDonutStackLayout
DonutGalleryGrid
TruckOrdersCard
TruckDonutsCard
TruckSocialFeedCard
SalesHistoryLineChart
DonutSalesBarChart

About

Clone version from sample-food-truck, written in Comose UIs. No additional dependencies, built purely with Jetpack libraries. Custom layout and animation focused.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages