@Override
 public void onClick(View view) {
   progressActivity.showLoading();
   final Handler handler = new Handler();
   handler.postDelayed(
       new Runnable() {
         @Override
         public void run() {
           prepareLayout();
         }
       },
       400);
 }
 public void activarLoad() {
   if (!progressActivity.isError()) {
     progressActivity.showLoading();
     Handler handler = new Handler();
     handler.postDelayed(
         new Runnable() {
           @Override
           public void run() {
             checkMe();
           }
         },
         600);
   }
 }
 @Override
 public View onCreateView(
     LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
   rootView = inflater.inflate(R.layout.fragment_instagram, container, false);
   progressActivity = (ProgressActivity) rootView.findViewById(R.id.InstagramProgressFragment);
   progressActivity.showLoading();
   final Handler handler = new Handler();
   handler.postDelayed(
       new Runnable() {
         @Override
         public void run() {
           prepareLayout();
         }
       },
       400);
   return rootView;
 }