@@ -0,0 +1,866 @@
+package com.setiawanpaiman.sunnyreader.util;%0A%0Aimport android.content.Context;%0Aimport android.net.ConnectivityManager;%0Aimport android.support.v4.widget.SwipeRefreshLayout;%0A%0Apublic final class AndroidUtils %7B%0A%0A    private AndroidUtils() %7B%0A    %7D%0A%0A    public static boolean isNetworkAvailable(Context context) %7B%0A        return ((ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE))%0A                .getActiveNetworkInfo() != null;%0A    %7D%0A%0A    public static void setSwipeRefreshing(final SwipeRefreshLayout swipeRefreshLayout,%0A                                          final boolean isRefreshing) %7B%0A        if(swipeRefreshLayout != null) %7B%0A            swipeRefreshLayout.post(new Runnable() %7B%0A                public void run() %7B%0A                    swipeRefreshLayout.setRefreshing(isRefreshing);%0A                %7D%0A            %7D);%0A        %7D%0A    %7D%0A%7D%0A

Add AndroidUtils