Beispiel #1
0
 /**
  * Setting visibility of progress bar in window tab. Function is thread safe.
  *
  * @param visibility
  */
 private void setProgressBarVisibilityT(final boolean visibility) {
   mProgresBar.post(
       new Runnable() {
         public void run() {
           setProgressBarIndeterminateVisibility(visibility);
         }
       });
 }
 protected void showLoader() {
   mProgressBarLoader.post(
       new Runnable() {
         @Override
         public void run() {
           mProgressBarLoader.setVisibility(View.VISIBLE);
         }
       });
 }