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
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Database listRows method call failing in...
I'm getting an error when trying to use listRows in a flutter app on a database. It seems something in the backend has changed because the production version of...