Replace $drivekitui_version with the DriveKit version you are using in your app
On this Github repository, you can find also a demo application that contains the DriveKit challenge component. This code is open source and you can use it as an example.
Initialization
An initialization phase is required to use the feature included in the Challenge UI module. You must call the initialization method in onCreate method of your application class.
Kotlin
Java
1
ChallengeUI.initialize()
Copied!
1
ChallengeUI.INSTANCE.initialize();
Copied!
Display Challenge list
To be able to get the list of Challenge in your application, you need to use this following method: