Package 

Object CoilUtils


  • 
    public class CoilUtils
    
                        

    Public utility methods for Coil.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static CoilUtils INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final static Unit dispose(View view) Dispose the request that's attached to this view (if there is one).
      final static ImageResult result(View view) Get the ImageResult of the most recent executed image request that's attached to this view.
      final static Cache createDefaultCache(Context context)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.