public class RequestManagerRetriever extends Object implements Handler.Callback
RequestManager
s or
retrieving existing ones from activities and fragment.Modifier and Type | Class and Description |
---|---|
static interface |
RequestManagerRetriever.RequestManagerFactory
Used internally to create
RequestManager s. |
Constructor and Description |
---|
RequestManagerRetriever(RequestManagerRetriever.RequestManagerFactory factory) |
Modifier and Type | Method and Description |
---|---|
RequestManager |
get(Activity activity) |
RequestManager |
get(Context context) |
RequestManager |
get(Fragment fragment) |
RequestManager |
get(Fragment fragment) |
RequestManager |
get(FragmentActivity activity) |
RequestManager |
get(View view) |
boolean |
handleMessage(Message message) |
public RequestManagerRetriever(@Nullable RequestManagerRetriever.RequestManagerFactory factory)
@NonNull public RequestManager get(@NonNull Context context)
@NonNull public RequestManager get(@NonNull FragmentActivity activity)
@NonNull public RequestManager get(@NonNull Fragment fragment)
@NonNull public RequestManager get(@NonNull Activity activity)
@NonNull public RequestManager get(@NonNull View view)
@NonNull public RequestManager get(@NonNull Fragment fragment)
public boolean handleMessage(Message message)
handleMessage
in interface Handler.Callback