load GIFAttachment
Call this method to load a GIF presented by com.streamwide.smartms.lib.core.data.item.GifAttachment..
This method can be executed in a main thread since it is already done in an AsyncTask.
The GIF can be chosen from gallery, imported as an external file or shared from another application.
The GIF is saved in internal storage.
Parameters
The application context
An intent that contains all necessary data to extract the image attachment.
It will be invoked when the GIF has been successfully loaded or when an error has occurred. Other details are delivered in the IAttachmentLoaderCallback callback.
Call this method to load a GIF presented by com.streamwide.smartms.lib.core.data.item.GifAttachment..
This method can be executed in a main thread since it is already done in an AsyncTask.
The GIF can be chosen from gallery, imported as an external file or shared from another application.
The GIF is saved in internal storage.
Parameters
The application context
The application lifecycle
An intent that contains all necessary data to extract the image attachment.
It will be invoked when the GIF has been successfully loaded or when an error has occurred. Other details are delivered in the IAttachmentLoaderCallback callback.