ResourceCursorAdapter.java
1.85 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
package android.support.v4.widget;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public abstract class ResourceCursorAdapter
extends CursorAdapter
{
private int a;
private int b;
private LayoutInflater c;
@Deprecated
public ResourceCursorAdapter(Context paramContext, int paramInt, Cursor paramCursor)
{
super(paramContext, paramCursor);
this.b = paramInt;
this.a = paramInt;
this.c = ((LayoutInflater)paramContext.getSystemService("layout_inflater"));
}
public ResourceCursorAdapter(Context paramContext, int paramInt1, Cursor paramCursor, int paramInt2)
{
super(paramContext, paramCursor, paramInt2);
this.b = paramInt1;
this.a = paramInt1;
this.c = ((LayoutInflater)paramContext.getSystemService("layout_inflater"));
}
@Deprecated
public ResourceCursorAdapter(Context paramContext, int paramInt, Cursor paramCursor, boolean paramBoolean)
{
super(paramContext, paramCursor, paramBoolean);
this.b = paramInt;
this.a = paramInt;
this.c = ((LayoutInflater)paramContext.getSystemService("layout_inflater"));
}
public View newDropDownView(Context paramContext, Cursor paramCursor, ViewGroup paramViewGroup)
{
return this.c.inflate(this.b, paramViewGroup, false);
}
public View newView(Context paramContext, Cursor paramCursor, ViewGroup paramViewGroup)
{
return this.c.inflate(this.a, paramViewGroup, false);
}
public void setDropDownViewResource(int paramInt)
{
this.b = paramInt;
}
public void setViewResource(int paramInt)
{
this.a = paramInt;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/widget/ResourceCursorAdapter.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/