Comments (5)
You would have to provide it yourself at the entry point to your composable running within Molecule. Molecule is not Android-specific nor does it have to run in a location where a Context is available. If you have one that you want to make available, you can provide it like a normal composition local at the root of your composition.
from molecule.
Related Issues (20)
- Relationship between molecule and Compose UI HOT 4
- Integration issue with kotlinx.serialization plugin: kotlinx.serialization compiler plugin internal error: unable to transform declaration HOT 3
- 0.9.0 is missing from Maven Central HOT 3
- Molecule does not work properly with TextField HOT 2
- Unit test iOS/tvOS frame clock
- Send real time in frame clocks, and test it HOT 1
- Kotlin 1.8.21 release
- Changing a MutableState inside a coroutine seemingly leads to skipped emissions HOT 4
- Kotlin 1.9-compatible release
- State production suspension and caching with Molecule HOT 2
- JS frame time can produce the same value
- sample-viewmodel module showcases keeping an always hot StateFlow in the ViewModel HOT 2
- Feature request: publish plugin to gradle plugin portal
- README is still referring to RecompositionClock HOT 2
- Provide the ability to set the JB Compose compiler version in our plugin
- Migrate to Gradle Kotlin DSL HOT 4
- Test fails while trying to use a ViewModel-like object with Turbine HOT 1
- Caused by: java.lang.UnsatisfiedLinkError: 'long android.os.Trace.nativeGetEnabledTags()' HOT 2
- Compose stops recomposing in tests HOT 7
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 molecule.