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
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- My organization's project is blocked
My organization's project is blocked so unblocked my organization then I will this
- Can't Create An Account with Gmail Domai...
Hi, when using account.create() to register a new user with the Gmail domain, I got "There was an error processing your request. Please check the inputs and try...