People who use their Fragment to grab a reference of their Activity/Fragment and cast it to an…
Justin Tuchek
1

No, you’ll want to switch to FragmentFactory or have setters on your Fragment and call them in onAttachFragment — both much better solutions than blindly casting.