init

fun init(context: Context)

Initializes the ContextProvider with the application context.

This method is used to initialize the ContextProvider with the application context. It should be called once, when the application is created.

Parameters

context

The application context.