mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-09-13 07:49:46 +00:00
14 lines
293 B
Java
14 lines
293 B
Java
|
package org.schabi.newpipe.fragments;
|
||
|
|
||
|
/**
|
||
|
* Indicates that the current fragment can handle back presses
|
||
|
*/
|
||
|
public interface BackPressable {
|
||
|
/**
|
||
|
* A back press was delegated to this fragment
|
||
|
*
|
||
|
* @return if the back press was handled
|
||
|
*/
|
||
|
boolean onBackPressed();
|
||
|
}
|