-
public class CoilUtilsPublic utility methods for Coil.
-
-
Method Summary
Modifier and Type Method Description final static Unitdispose(View view)Dispose the request that's attached to this view (if there is one). final static ImageResultresult(View view)Get the ImageResult of the most recent executed image request that's attached to this view. final static CachecreateDefaultCache(Context context)-
-
Method Detail
-
dispose
final static Unit dispose(View view)
Dispose the request that's attached to this view (if there is one).
NOTE: Typically you should use Disposable.dispose to cancel requests and clear resources, however this method is provided for convenience.
-
result
final static ImageResult result(View view)
Get the ImageResult of the most recent executed image request that's attached to this view.
-
createDefaultCache
final static Cache createDefaultCache(Context context)
-
-
-
-