A sample android application written in Kotlin which demonstrates how to intercept back press events in Android fragments in two ways
Read more at: https://proandroiddev.com/backpress-handling-in-android-fragments-the-old-and-the-new-method-c41d775fb776