package com.tencent.mm.plugin.exdevice.ui;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;

class ExdeviceRankChampionInfoView$2 implements OnClickListener {
    final /* synthetic */ ExdeviceRankChampionInfoView lCY;
    final /* synthetic */ Context val$context;

    ExdeviceRankChampionInfoView$2(ExdeviceRankChampionInfoView exdeviceRankChampionInfoView, Context context) {
        this.lCY = exdeviceRankChampionInfoView;
        this.val$context = context;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(20110);
        if (bo.isNullOrNil(ExdeviceRankChampionInfoView.a(this.lCY))) {
            ab.w("MicroMsg.ExdeviceRankChampionInfoView", "username is null.");
            AppMethodBeat.o(20110);
            return;
        }
        Intent intent = new Intent(this.val$context, ExdeviceProfileUI.class);
        intent.putExtra("username", ExdeviceRankChampionInfoView.a(this.lCY));
        this.val$context.startActivity(intent);
        AppMethodBeat.o(20110);
    }
}
