|
package org.schabi.newpipe.fragments
|
|
|
|
/**
|
|
* Indicates that the current fragment can handle back presses.
|
|
*/
|
|
open interface BackPressable {
|
|
/**
|
|
* A back press was delegated to this fragment.
|
|
*
|
|
* @return if the back press was handled
|
|
*/
|
|
fun onBackPressed(): Boolean
|
|
}
|