Skip to content

how to get context from loaded class #2

@H1-N1

Description

@H1-N1

i have a class that use SharedPreferences but i get this error related to app context
Attempt to invoke virtual method 'android.content.SharedPreferences
android.content.Context.getSharedPreferences

and also some other function taht use context
do you have a work around for this issue
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions