fr$1.java
1.59 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
import android.os.Handler;
import android.os.Looper;
import android.support.v7.util.ThreadUtil.MainThreadCallback;
import android.support.v7.util.TileList.Tile;
import android.util.Log;
final class fr$1
implements ThreadUtil.MainThreadCallback<T>
{
final fr.a a = new fr.a();
private final Handler d = new Handler(Looper.getMainLooper());
private Runnable e = new Runnable()
{
public final void run()
{
fr.b localb = fr.1.this.a.a();
if (localb != null)
{
switch (localb.a)
{
default:
Log.e("ThreadUtil", "Unsupported message, what=" + localb.a);
}
for (;;)
{
localb = fr.1.this.a.a();
break;
fr.1.this.b.updateItemCount(localb.b, localb.c);
continue;
fr.1.this.b.addTile(localb.b, (TileList.Tile)localb.g);
continue;
fr.1.this.b.removeTile(localb.b, localb.c);
}
}
}
};
fr$1(fr paramfr, ThreadUtil.MainThreadCallback paramMainThreadCallback) {}
private void a(fr.b paramb)
{
this.a.b(paramb);
this.d.post(this.e);
}
public final void addTile(int paramInt, TileList.Tile<T> paramTile)
{
a(fr.b.a(2, paramInt, paramTile));
}
public final void removeTile(int paramInt1, int paramInt2)
{
a(fr.b.a(3, paramInt1, paramInt2));
}
public final void updateItemCount(int paramInt1, int paramInt2)
{
a(fr.b.a(1, paramInt1, paramInt2));
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/fr$1.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/