Mb there is no need to override onBackPressed in fragment because onHideCustomView is being called when I press back button anyway, but I as said the app crashes and I don't really understand why
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/f4741a4a-de98-4e9d-8414-eb1ad7615e19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

