getActivity (kotlin: activity) inside a fragment gives me FragmentActivity. But now i need Activity instead of FragmentActivity for a specific listener and its not possible to cast it to Activity.
for any one else may have this problem. just add !! (activity!!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With