fr$1.java 1.59 KB
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
 */