PagerAdapter.java
2.91 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
package android.support.v4.view;
import android.database.DataSetObservable;
import android.database.DataSetObserver;
import android.os.Parcelable;
import android.view.View;
import android.view.ViewGroup;
public abstract class PagerAdapter
{
public static final int POSITION_NONE = -2;
public static final int POSITION_UNCHANGED = -1;
private final DataSetObservable a = new DataSetObservable();
private DataSetObserver b;
final void a(DataSetObserver paramDataSetObserver)
{
try
{
this.b = paramDataSetObserver;
return;
}
finally {}
}
@Deprecated
public void destroyItem(View paramView, int paramInt, Object paramObject)
{
throw new UnsupportedOperationException("Required method destroyItem was not overridden");
}
public void destroyItem(ViewGroup paramViewGroup, int paramInt, Object paramObject)
{
destroyItem(paramViewGroup, paramInt, paramObject);
}
@Deprecated
public void finishUpdate(View paramView) {}
public void finishUpdate(ViewGroup paramViewGroup)
{
finishUpdate(paramViewGroup);
}
public abstract int getCount();
public int getItemPosition(Object paramObject)
{
return -1;
}
public CharSequence getPageTitle(int paramInt)
{
return null;
}
public float getPageWidth(int paramInt)
{
return 1.0F;
}
@Deprecated
public Object instantiateItem(View paramView, int paramInt)
{
throw new UnsupportedOperationException("Required method instantiateItem was not overridden");
}
public Object instantiateItem(ViewGroup paramViewGroup, int paramInt)
{
return instantiateItem(paramViewGroup, paramInt);
}
public abstract boolean isViewFromObject(View paramView, Object paramObject);
public void notifyDataSetChanged()
{
try
{
if (this.b != null) {
this.b.onChanged();
}
this.a.notifyChanged();
return;
}
finally {}
}
public void registerDataSetObserver(DataSetObserver paramDataSetObserver)
{
this.a.registerObserver(paramDataSetObserver);
}
public void restoreState(Parcelable paramParcelable, ClassLoader paramClassLoader) {}
public Parcelable saveState()
{
return null;
}
@Deprecated
public void setPrimaryItem(View paramView, int paramInt, Object paramObject) {}
public void setPrimaryItem(ViewGroup paramViewGroup, int paramInt, Object paramObject)
{
setPrimaryItem(paramViewGroup, paramInt, paramObject);
}
@Deprecated
public void startUpdate(View paramView) {}
public void startUpdate(ViewGroup paramViewGroup)
{
startUpdate(paramViewGroup);
}
public void unregisterDataSetObserver(DataSetObserver paramDataSetObserver)
{
this.a.unregisterObserver(paramDataSetObserver);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/view/PagerAdapter.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/