Added documentation to the AsyncTaskResultWrapper

This commit is contained in:
Daniel Haß 2014-02-27 10:17:38 +01:00
parent 20470748a9
commit 49769645a0

View File

@ -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;