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
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.