Step 1: Add any functions you want to call into the interface (EventListener).
Step 2: Implement those functions in your MainActivity.
Step 3: Create the listener in your Fragment and attach it to the Activity.
Step 4: Call any functions on the listener.
I want to shake your hand! Hours spent searching how to do this. I'm new to the language and people don't often realize how much context they're leaving out when they offer solutions, so I tried this style of implementation before but it never worked. It wasn't until I saw your clear, complete code that it clicked and it works for me. Thank you!