package vn.eazy.core.loader;

import android.support.annotation.NonNull;
import android.view.View;

/**
 * Created by Harry on 2/21/17.
 */

public interface LoaderUtils {
    public enum TYPE {
        SPIN, PIE, ANNULAR, BAR
    }

    void showLoading();

    void showLoaing(@NonNull String title, TYPE type);

    void showLoading(@NonNull String title);

    void showLoading(@NonNull String title,@NonNull String detail,TYPE type);

    void showLoading(@NonNull String title,@NonNull String detail);

    void showLoading(@NonNull String title,View customView);

    void hideLoading();
}

@@ -23,16 +23,48 @@
 oader;%0A%0A
+import android.content.Context;%0A
 import a
@@ -328,32 +328,48 @@
 title, TYPE type
+,Context context
 );%0A%0A    void sho
@@ -398,16 +398,32 @@
 ng title
+,Context context
 );%0A%0A    
@@ -453,32 +453,33 @@
 ll String title,
+ 
 @NonNull String 
@@ -485,16 +485,17 @@
  detail,
+ 
 TYPE typ
@@ -495,16 +495,33 @@
 YPE type
+, Context context
 );%0A%0A    
@@ -581,16 +581,32 @@
 g detail
+,Context context
 );%0A%0A    
@@ -659,16 +659,32 @@
 stomView
+,Context context
 );%0A%0A    

edit loaderUtils