Comments (9)
Actually, I found that LookaheadLayout
is already available to try in Compose 1.3.0-alpha01
. I will play with it and provide some updates here.
from decompose.
Yep, LookaheadLayout
+ movableContentOf
should work just fine even with the current animations API. It is already available in Compose 1.3.0-alpha01
, however there are immediate bugs, e.g. LookaheadLayout doesn't support having LazyColumn inside, etc.
Screen.Recording.2022-07-24.at.17.27.00.mov
from decompose.
It would be nice to have a shared element transition between configurations, not sure if something similar to this sample could be done with Decompose?
from decompose.
I have a pending branch that should make it compatible with the official shared transitions (LookaheadLayout
+ movableContentOf
) when they land in Compose. The branch is blocked by the availability of movableContentOf
. Waiting for the stable MPP Compose 1.2.0.
from decompose.
It seems like the animation documentation is out of date since the stack navigation changes. I'm assuming childAnimation
is supposed to be stackAnimation
?
from decompose.
Thanks for raising! I updated the documentation a while ago with multiple rounds of self code review, but seems like I missed this one.
from decompose.
@arkivanov Hi. Is it possible to use AnimatedContent with Decompose?
from decompose.
@aartikov Technically it should be possible. E.g. the Child Stack
just exposes Value<ChildStack<C, T>>
- so you can use something your own instead of the Children
function, with AnimatedContent
. You can also try the StackAnimation { } function that just provides the current ChildStack
and it's up to you how to render children.
from decompose.
@arkivanov Thank you!
from decompose.
Related Issues (20)
- Navigation animation causes content to not invalidate HOT 9
- KMP project stopped building for iOS with wasm supported decompose HOT 5
- crash: on 3.0.0-alpha07 java.lang.NoSuchMethodError HOT 4
- Expose more parameters for predictive back animations HOT 1
- Document compose BackHandler <> decompose backHandler <> predictive back interaction HOT 1
- Expand the documentation on why do we need components HOT 1
- `LifecycleController` does not consider `resume`/`pause` events. HOT 1
- Consider adding an overload of `predictiveBackAnimation` that has a selector lambda for **both** animation and fallback animation HOT 1
- Describe creating custom navigation models in the docs HOT 1
- How to use StateValue in SwiftUI Textfield HOT 2
- When the app is closed then the subscribeAsState() doesn't work HOT 12
- Print configurations when the uniqueness violation is detected HOT 1
- Accessing ViewModel inside component {Question}
- Где посмотреть на реализацию CustomNavigationComponentChildren HOT 1
- Consider adding some sort of integration to allow easier use of shared element transitions between screens. HOT 7
- Import and open sample project HOT 4
- Can not find the version for installation?
- Support new Compose Multiplatform Lifecycle (and maybe ViewModel) HOT 2
- Update samples and templates HOT 1
- Helpful tip for childSlot HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decompose.