Giter Club home page Giter Club logo

try-compose's Introduction

๐ŸŽ‰ DEPRECATED ๐ŸŽ‰

The contents of this repo are no longer needed to play around with Jetpack Compose. You can follow official guides [here](https://developer.android.com/jetpack/compose

Also feel free to checkout these resources if you interested in Jetpack Compose:

Android Team created a #compose channel on Kotlin's Slack to collect feedback from community. Be sure to check it out if you have anything to ask.

Also, if you speak Russian, join our community dedicated to declarative UI frameworks for android.


Try Jetpack Compose now!

This repository was made to provide a quick dive into what Jetpack Compose feels like. No need to checkout and AOSP and build everything by yourself, main job is done for you.

Installation

Unfortunately, Jetpack Compose is not published anywhere yet. This repo helps urgent minds to play with Compose by providing all dependencies prebuilt.

Unpack prebuilts

Download zipped prebuilts from the latest release and unpack it to project root replacing all the files

Install custom version of Android studio

Compose needs custom plugins to operate. To use it, you can install custom version of Android Studio provided by wrapper script slightly modified to match this repo files structure. Just launch

./studiow

It will download Android Studio from google servers and prompt you to accept license. Type Y to proceed. After installing script will open Android Studio within the repo folder to play with.

Use own prebuilts

If you want to use the most recent Jetpack Compose dependencies and can't wait for me to recompile and publish new release, but have already established project based on this template, you can build Jetpack Compose by yourself and then add the following line to your local.properties file

androidx.home="path/to/your/androidx/checkout"

Feedback

Android Team created a #compose channel on Kotlin's Slack to collect feedback from community. Be sure to check it out if you have anything to ask.

Also, if you speak Russian, join our community dedicated to declarative UI frameworks for android.

That's all, folks!!

try-compose's People

Contributors

mishkun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

try-compose's Issues

./studiow throws an error

Building compose plugin
sed: first RE may not be empty
./gradlew: line 159: $s/$/ \\/: No such file or directory
sed: first RE may not be empty
./gradlew: line 159: $s/$/ \\/: No such file or directory
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

How to update prebuilts

Thanks for the repo, it really helps with setting up a new project with compose support.

I noticed that some of the more recent changes to ASOP are not part of the prebuilt zip you so kindly provide. Would it be possible for you to share instructions on how to create the prebuilts from a up-to-date checkout of ASOP?

Thanks again!

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.