mirror of
https://github.com/TeamAmaze/AmazeFileManager.git
synced 2026-10-17 05:08:00 +08:00
1978: Fix codecy issues
This commit is contained in:
@@ -20,6 +20,15 @@
|
||||
|
||||
package com.amaze.filemanager.asynchronous.asynctasks
|
||||
|
||||
/**
|
||||
* Interface to define state to Asynctask
|
||||
*/
|
||||
interface StatefulAsyncTask<T> {
|
||||
|
||||
/**
|
||||
* Set callback to current async task. To be used to attach the context on
|
||||
* orientation change of fragment / activity
|
||||
* @param t callback
|
||||
*/
|
||||
fun setCallback(t: T)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user