DEV Community

Discussion on: How to set up a Base Fragment Class with ViewBinding and ViewModel on Android

Collapse
sebastianseno profile image
Sebstian Seno • Edited

Halo Enya, Nice article! But when I try your code for my base fragment, why my application crash when I try to go back to previous fragment ?

the error said 'Fragment no longer exists' did you have the same issue ?

hope you will respond my message. Thanks in advance

Collapse
enyason profile image
Enya Emmanuel Author

Hello @sebastianseno thank you. Could You share the link to your project on github. So i check it out. Thats if this sits well with you.