• Stars
    star
    3,132
  • Rank 14,345 (Top 0.3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created over 5 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Community-driven collection of Jetpack Compose example code and tutorials 🚀 https://foso.github.io/compose

Jetpack Compose Playground

Introduction 🙋‍♂️

This is a Jetpack Compose example project. I'm collecting a bunch of sample codes for Jetpack Compose. I also collect information/tutorials on the GitHub page https://foso.github.io/compose.

Kotlin Compose

jCenter PRs Welcome Android Weekly Contributors

Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks GitHub watchers Twitter Follow Tweet

Composable of the week!! 🎉

The SubComposeLayout

New to Compose?

Check Compose for Android Developers or Hello World Compose

📙 Jetpack Compose examples/tutorials and demos

Look in the repo or take a look at the GitHub page: https://foso.github.io/compose

Animation

Layouts

Foundation

Material

Cookbook

Some of the code samples in this Repository:

Overview DialogExample CircularProgress
Screenshot Screenshot Screenshot

Project Structure

  • /app - Android project directory

Resources

Talks

Name Description
Thinking in Compose Jetpack Compose is the new next generation UI toolkit. It uses a declarative component based paradigm for building UIs easily and quickly. It’s written entirely in Kotlin and embraces the style and ergonomics of the Kotlin language.
Compose by example Jetpack Compose is a new declarative UI toolkit built for the demands of creating modern user interfaces. Get started with Compose and learn about the new APIs and Material components that make up the toolkit by examining concrete UIs we’ve created with it. We’ll walk through examples of theming, animation, layout and more, demonstrating how to customize and combine components to build real UIs. We’ll show how the new toolkit simplifies your development experience and enables new possibilities.
Compose for existing apps Jetpack Compose is now in alpha and you might want to start adding it to your existing apps. In this talk, you'll learn how to do that! We'll cover topics such as: adding Compose to your existing Views and embedding Views in Compose, using your existing View theme and current app architecture in Compose, testing all of that code, and much more.
Jetpack Compose Jetpack Compose is Android’s new modern UI toolkit. Learn how Compose simplifies & accelerates your UI development, allowing you to create richer, more robust and responsive UIs. We outline our roadmap, what is ready for use right now, share our direction in areas that are still evolving, and show how the tight integration with tooling makes the development experience even better. Get up to speed with Compose and how it can help you to build better apps!
droidcon Online 2020: Become A Composer By Brian Gardner
KotlinConf 2019: The Compose Runtime, Demystified by Leland Richardson Jetpack Compose is an ambitious multi-team effort to reimagine Android's UI Toolkit more than 10 years after the Android Platform launched with the original UI Toolkit. Compose follows a declarative programming model, and the runtime is coupled with a Kotlin compiler plugin to enable a novel new approach to declarative programming. In this talk, Leland will go over the mechanics of how the Compose runtime and compiler plugin work together, demystifying how it can be used to enable efficient and performant user interfaces. In addition, this talk will describe how Compose can operate completely independent of the Android Platform and Compose UI, allowing it to be used as a general language feature for Incremental Computing and the management of tree-like data structures.
KotlinConf 2019: Compose Yourself: Designing a Kotlin First UI Toolkit by Anna-Chiara & Clara #Jetpack Compose is an unbundled UI Toolkit for #Android, designed to simplify UI development. It combines a reactive programming model with the conciseness and ease of use of Kotlin. Learn directly from engineers on the project about the decisions that went into making this toolkit and how a Kotlin-first approach has influenced API design from the project's inception.
What's New in Jetpack Compose (Android Dev Summit '19) Jetpack Compose was announced at Google I/O and the team has been hard at work ever since. This talk introduces Compose to new audiences, including what the project is and how it is taking shape. The talk also updates people who already know about Jetpack Compose, including how the project has evolved.
Understanding Compose (Android Dev Summit '19) This session covers the benefits of a declarative reactive UI system like Jetpack Compose and how it applies to real problems that Android developers have today. Additionally, this talk expands on the programming model of Jetpack Compose and some of its implementation details the can help you understand how Compose works.
#AskAndroid at Android Dev Summit 2019 - Jetpack Compose Missed the #AskAndroid livestream segment of Android Dev Summit 2019? Don’t worry, we got you covered. Hosts Lyla Fujiwara and Dan Galpin are joined by Anna-Chiara Bellini and Adam Powell to discuss Jetpack Compose questions submitted by Android developers online. Anna-Chiara Bellini is a product manager, and Adam Powell is an engineering lead.
Google IO19 - Declarative UI patterns Explore how reactive and declarative paradigms can be applied to Android UI development, making it easier for developers to integrate these patterns into their Android apps with Kotlin.
DroidconBerlin - Jetpack Compose — Next Gen Kotlin UI Toolkit for Android
DroidconBerlin - Jumping into Jetpack Compose way too early to see what's inside
KotlinEverywhere - Jetpack Compose
DevFest Kolkata 2019 - Let's Talk Composing UI

Podcasts

Name Episode Description
Android Developers Backstage Episode 147 Jetpack Compose Alpha
Android Developers Backstage Episode 131 Jetpack Compose and Declarative UIs
Android Developers Backstage Episode 115 Jetpack Compose
Fragmented Podcast Episode 171 Jetpack Compose with Leland Richardson
The Kodeco Podcast S09 E09 Google’s Android Toolkit Lead Developer Romain Guy

Other Links

Name Description
Jetpack Compose
Jetpack Compose UI Readme
Compose Readme
Video - Kotlin and Jetpack Compose
#compose channel on Kotlin Slack
Compose from first Principles
Jetpack Compose Tutorial
AndroidX Git Compose
Release Notes
Compse UI Docu
Video - Jetpack compose - MVVM State management in a simple way
Jetpack Compose Twitter Bot
SSComposeCookBook
SSJetPackComposeProgressButton
SSJetpackComposeSwipeableView
SSComposeOTPPinView

Feel free to contribute!

✍️ Feedback

If you want to improve Compose, join the Kotlin Slack and the #compose channel or file a Compose bug on the Google Issue Tracker

Find this project useful? ❤️

  • Support it by clicking the button on the upper right of this page. ✌️

This project is proudly supported by JetBrains OSS License

License

MIT License

Copyright (c) 2019-2023 Jens Klingenberg

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Acknowledgments

Projects that helped me understand how to setup the project:

Credits

Jetpack-Compose-Playground is brought to you by these contributors.

More Repositories

1

Ktorfit

HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit
Kotlin
1,545
star
2

MpApt

(Deprecated) 🔧 Kotlin Native/JS/JVM Annotation Processor library for Kotlin compiler plugins
Kotlin
238
star
3

Cabret-Log

✏️ Method call logging for Kotlin Multiplatform
Kotlin
196
star
4

KotlinCompilerPluginExample

This is an example project that shows how to create a Kotlin Compiler Plugin. The plugin will print "Hello from" and the name of the file that is being compiled, as a compiler warning to the terminal log.
Kotlin
107
star
5

HtmlToComposeWebConverter

IntelliJ Idea Plugin that can convert HTML to Compose HTML code. https://plugins.jetbrains.com/plugin/18261-html-to-compose-web-converter
Kotlin
96
star
6

Showdown

Showdown is a selfhosted open source web app/server, you can use for remote planning poker® with scrum teams. Try at http://showdown.fly.dev/#/
Kotlin
48
star
7

KotlinReactNativeMpp

A ReactNative App written with Kotlin JS
Kotlin
35
star
8

Sheasy

This an Android App that helps you share/manage your files on your Android Device through a WebInterface in the Browser - Built with Ktor and Kotlin-React
Kotlin
35
star
9

Folders2kt

An interpreter/transpiler, written in Kotlin, for the esoteric programming language Folders, a language with no code and just folders
Kotlin
27
star
10

ExoPlayer-with-MediaControls

This is a small project i created to learn how to use the Exoplayer from Google. It plays an video from an URL and you can control the playback. It can now play HLS,Dash and mp4 streams
Java
20
star
11

gtvmonkey-scripts

This a template project that helps you write Greasemonkey/Tampermonkey/ViolentMonkey scripts with KotlinJs
Kotlin
18
star
12

compose-snake-web

This is a Compose HTML port of CompoSnake
Kotlin
12
star
13

JKAndroidWebserver

This is an example project that uses NanoHTTPd to run a Webserver on Android
Java
9
star
14

BitriseArtifactDownloader

This is a flutter app which uses the Bitrise Api(https://api-docs.bitrise.io/) to show the bitrise projects and builds and lets you download your artifacts.
Dart
9
star
15

JKManageSpaceActivity

This is an example project for my post about ManageSpaceActivity on Android
Kotlin
8
star
16

C-Crit_Generator

A generator for your critical secret keys
Kotlin
6
star
17

Android-Deeplink-Starter

IntelliJ/Android Studio plugin that adds an alternative UI to start Android deeplinks
Kotlin
3
star
18

compose-html-hello-world

Kotlin
3
star
19

ReverseMe

The app is part of my post about reserve engineering android apps
Java
3
star
20

ComposeReact

Just for fun experiment with a React like API for Jetpack Compose
Kotlin
2
star
21

MealApp

Kotlin Multiplatform project using Jetpack Compose and SwiftUI
Kotlin
2
star
22

JKLiveDataExample

This is an example project for my article about LiveData http://jensklingenberg.de/learn-how-to-use-livedata/
Java
2
star
23

KmdcExample

Example project with Compose HTML and Kmdc
Kotlin
2
star
24

JKWebsocket

Example Project that shows how to use NanoHTTP/NanoWSD to create a Websocket Server. After you connect to it, it will post "Hello World" plus the systemdate to the client every second.
Kotlin
2
star
25

KSP-Example

Kotlin
1
star
26

BasicKmm

Kotlin
1
star
27

dukat-idea

Intellij Plugin that adds a menu entry to start Dukat to generate KotlinJs Wrappers
Kotlin
1
star
28

ExtensionGenerator

Work in Progress
Kotlin
1
star
29

BananiaMapConverter

Tiled map files and converter for the game Banania
Kotlin
1
star
30

Foso

1
star
31

compose-web-nes-css

Compose Wrapper for Nes Css (WIP)
Kotlin
1
star
32

kt_dart_builder

A fluent Kotlin API for generating valid Dart source code
Kotlin
1
star
33

Experimental

Nothing to see here
Kotlin
1
star
34

kotlin-react-Hello-World

A simple Kotlin React Project with gradle, that shows Hello World and a reactstrap button
Kotlin
1
star
35

kotlinforeverything

WIP
1
star
36

compose

This is only used as an url shortener for https://github.com/Foso/Jetpack-Compose-Playground/
HTML
1
star
37

JK_Launcher

This is a very simple launcher app.
Java
1
star