can you show how the context is passed into that class?
if you are in MainActivity use getContext() instead of context
getContext() or getApplicationContext() ?
getContext if you are inside of an Activity
the correct way using viewmodels 😄
@Steven if you want to use my repo as Jetpack Compose example i don't have any problem with that 🙂
so is your problem resolved?
is not mine, i'ts @gyancodes issue
oh god im sorry 🫢
np 🙂
@Der Sarco Thanks for help, but I am still finding the solution,
@Steven Oh I looked into it and It helped to resolve my problem, thanks 🫡
[SOLVED] Facing error while passing context
Recommended threads
- there is critical problem in this part
when user update the integer and double both get error not update or upload
- Roles Enum Limitation in Kotlin SDK
The createMembership method in the Appwrite Kotlin SDK now requires List<io.appwrite.enums.Roles> instead of List<String>, but the predefined Roles enum only co...
- Server Down
Appwrite services are down. When will they start working again?