admin
2020-08-12 cefe2a41db4a275fb1e940a902cb156f1ed68d80
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.handmark.pulltorefresh.library;
 
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);
 
}