ContextProvider

Singleton object that provides application context and current activity.

This object is used to provide a global reference to the application context and the current activity. It is initialized with the application context.

Properties

Link copied to clipboard
lateinit var context: Context

The application context.

Functions

Link copied to clipboard
fun init(context: Context)

Initializes the ContextProvider with the application context.