In the example code provided on the 8 page, step number 4, the access of root property is missing. Should be instead:
// TODO: Set an on-click listener on the "Add to Google Wallet" button
addToGoogleWalletButton = layout.addToGoogleWalletButton.root
addToGoogleWalletButton.setOnClickListener {
walletClient.savePassesJwt(token, this, addToGoogleWalletRequestCode)
}
In the example code provided on the 8 page, step number 4, the access of
rootproperty is missing. Should be instead: