mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Added documentation to the AsyncTaskResultWrapper
This commit is contained in:
parent
20470748a9
commit
49769645a0
@ -17,6 +17,11 @@
|
|||||||
|
|
||||||
package org.sufficientlysecure.keychain.ui.adapter;
|
package org.sufficientlysecure.keychain.ui.adapter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The AsyncTaskResultWrapper is used to wrap a result from a AsyncTask (for example: Loader).
|
||||||
|
* You can pass the result and an exception in it if an error occurred.
|
||||||
|
* @param <T> - Typ of the result which is wrapped
|
||||||
|
*/
|
||||||
public class AsyncTaskResultWrapper <T>{
|
public class AsyncTaskResultWrapper <T>{
|
||||||
|
|
||||||
private final T result;
|
private final T result;
|
||||||
|
Loading…
Reference in New Issue
Block a user