Good morning, everyone!
Can you suggest an article, book, or something on gentle 'Context' introduction? I'm trying to write a small app following a sample project. At one point, namely
Copy code
internal fun App(context: Context) {
it requires context to work. The problem is I don't know how to use or create it or whether I even need it at the moment.
Any feedback appreciated.
z
Zach Klippenstein (he/him) [MOD]
09/21/2024, 2:32 PM
import common.Context
This looks like a type from the project, not android or compose
p
Paul Stern
09/21/2024, 4:56 PM
Yes, exactly. But the case is I need to implement it myself cause this is an 'expected' class. The project contains 'actual' implementation for android, so I would need to implement it on desktop and, probably, web. To be able to do so I need at least basic understanding of this topic. This is the reason I asked that.
z
Zach Klippenstein (he/him) [MOD]
09/21/2024, 6:08 PM
I’m not sure what the probability of your finding someone who knows this particular sample project here, did you file a bug asking for more docs? At any rate, this isn’t a compose question.