Here’s how I implemented in App Billing in my app(s).
Events took a familiar course: after 10 minutes of reading, I thought, there’s got to be a less painful way to do this. So I googled the magic words tutorial and found quite a good one.
However, the recommended method given by Google is annoying. You have to copy Java classes around by hand and there are no Gradle dependencies to make things easy. I got it working in the end, but was unsatisfied.
If you have questions, do ask below.