mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Introduce a DestroyableActivity for UI result handlers
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package org.briarproject.android;
|
||||
|
||||
import android.support.annotation.UiThread;
|
||||
|
||||
public interface DestroyableActivity {
|
||||
|
||||
void runOnUiThread(Runnable runnable);
|
||||
|
||||
@UiThread
|
||||
boolean hasBeenDestroyed();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user