microsoft / surface-duo-compose-samples Goto Github PK
View Code? Open in Web Editor NEWThis repo contains samples built with Jetpack Compose for the Microsoft Surface Duo.
License: MIT License
This repo contains samples built with Jetpack Compose for the Microsoft Surface Duo.
License: MIT License
PREQUISITE: TwoPaneLayout PR needs to be merged and released on Maven Central
Update all of the Compose samples to use Compose version 1.0.3 or the latest stable release. Check out this PR to see all the places where the version may need to be changed! It's possible that androidx.activity:activity-compose
and/or android.navigation:navigation-compose
may also need updating.
Currently, the values for the sliders in AdjustmentsPanel.kt
are randomly generated. It would be great to add functionality for saving and remembering these values between layout changes!
Need to clear the editor after the diary is saved, or the date is changed
Content stays the same in editor
Clearning the editor to default placeholder text every time we change the date or save the diary
I just like surface duo and Jetpack Compose! ๐ฅฐ๐
Happy coding ๐ฅ
Update TwoPaneLayout to use Compose version 1.0.3 or the latest stable release. This also means that TwoPaneLayout will have to be updated to version alpha-09
. Check out this PR to see all the places where the version may need to be changed! It's possible that androidx.activity:activity-compose
and/or android.navigation:navigation-compose
may also need updating.
Once this has been merged, our team can update GitHub and Maven Central with the new release.
Hi i am a new in code i am taking a course on Kotlin and i have an issue i download a Kotlin in vscode and when i run a simple code its give me an error as i know i download the latest
java 17 and add it to path this is my code i want to understand what i missing and how i do solve the error and thank you.
fun main() {
println("Hello World")
}
and this is the output
[Running] cd "c:\Users\tariq\Desktop" && kotlinc Hello World.kt -include-runtime -d Hello World.jar && java -jar Hello World.jar
error: source file or directory not found: Hello
error: source file or directory not found: World.kt
error: source file or directory not found: World.jar
[Done] exited with code=1 in 2.459 seconds
The views sample of this project has animations because of motion layout, so if we could use Constraint Layout to animate through the composable changes it would look good.
Addition
Will also require an update to the ContentDrawer component, to make sure the fold spacer is placed at the correct position
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.