Help understanding a View model and replicating function from github repo

Job ID: 30857599

Budget: $50 – $0 USD

Repo https://github.com/android/play-billing-samples/tree/master/TrivialDriveKotlin

looking to replicate the functionality from the MakePurchaseViewModel
Related categories: Mobile App Development Android Kotlin