Android Open Source - Android-PullToRefreshWithProgressBar I Loading Layout






From Project

Back to project page Android-PullToRefreshWithProgressBar.

License

The source code is released under:

Apache License

If you think the Android project Android-PullToRefreshWithProgressBar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.handmark.pulltorefresh.library;
// ww  w .j  a v  a 2s  . co  m
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;

public interface ILoadingLayout {

  /**
   * Set the Last Updated Text. This displayed under the main label when
   * Pulling
   * 
   * @param label - Label to set
   */
  public void setLastUpdatedLabel(CharSequence label);

  /**
   * Set the drawable used in the loading layout. This is the same as calling
   * <code>setLoadingDrawable(drawable, Mode.BOTH)</code>
   * 
   * @param drawable - Drawable to display
   */
  public void setLoadingDrawable(Drawable drawable);

  /**
   * Set Text to show when the Widget is being Pulled
   * <code>setPullLabel(releaseLabel, Mode.BOTH)</code>
   * 
   * @param pullLabel - CharSequence to display
   */
  public void setPullLabel(CharSequence pullLabel);

  /**
   * Set Text to show when the Widget is refreshing
   * <code>setRefreshingLabel(releaseLabel, Mode.BOTH)</code>
   * 
   * @param refreshingLabel - CharSequence to display
   */
  public void setRefreshingLabel(CharSequence refreshingLabel);

  /**
   * Set Text to show when the Widget is being pulled, and will refresh when
   * released. This is the same as calling
   * <code>setReleaseLabel(releaseLabel, Mode.BOTH)</code>
   * 
   * @param releaseLabel - CharSequence to display
   */
  public void setReleaseLabel(CharSequence releaseLabel);

  /**
   * Set's the Sets the typeface and style in which the text should be
   * displayed. Please see
   * {@link android.widget.TextView#setTypeface(Typeface)
   * TextView#setTypeface(Typeface)}.
   */
  public void setTextTypeface(Typeface tf);

}




Java Source Code List

com.handmark.pulltorefresh.library.ILoadingLayout.java
com.handmark.pulltorefresh.library.IPullToRefresh.java
com.handmark.pulltorefresh.library.LoadingLayoutProxy.java
com.handmark.pulltorefresh.library.OverscrollHelper.java
com.handmark.pulltorefresh.library.PullToRefreshAdapterViewBase.java
com.handmark.pulltorefresh.library.PullToRefreshBase.java
com.handmark.pulltorefresh.library.PullToRefreshExpandableListView.java
com.handmark.pulltorefresh.library.PullToRefreshGridView.java
com.handmark.pulltorefresh.library.PullToRefreshHorizontalScrollView.java
com.handmark.pulltorefresh.library.PullToRefreshListView.java
com.handmark.pulltorefresh.library.PullToRefreshScrollView.java
com.handmark.pulltorefresh.library.PullToRefreshWebView.java
com.handmark.pulltorefresh.library.extras.PullToRefreshWebView2.java
com.handmark.pulltorefresh.library.extras.SoundPullEventListener.java
com.handmark.pulltorefresh.library.internal.EmptyViewMethodAccessor.java
com.handmark.pulltorefresh.library.internal.FlipLoadingLayout.java
com.handmark.pulltorefresh.library.internal.IndicatorLayout.java
com.handmark.pulltorefresh.library.internal.LoadingLayout.java
com.handmark.pulltorefresh.library.internal.RotateLoadingLayout.java
com.handmark.pulltorefresh.library.internal.Utils.java
com.handmark.pulltorefresh.library.internal.ViewCompat.java