Nov 1, 2022
I think using delegation is a proper way to handle this. You don't need not write copy paste callbacks for every fragment , also delegation is an alternative for inheritance so we can say our fragment has a onbackpressed talent. Your solution also acceptable thanks for reply 😇