package com.tencent.mm.plugin.location.ui.impl;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.modelgeo.Addr;
import com.tencent.mm.modelgeo.c.a;
import com.tencent.mm.plugin.location.ui.c;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;

class a$3 implements a {
    final /* synthetic */ a nOW;

    a$3(a aVar) {
        this.nOW = aVar;
    }

    public final void b(Addr addr) {
        AppMethodBeat.i(113591);
        ab.d("MicroMsg.BaseMapUI", "onGetAddrss  %s", new Object[]{addr.toString()});
        this.nOW.nOH = addr;
        String agv = addr.agv();
        this.nOW.nOK.cIK = this.nOW.activity.getResources().getString(2131300970);
        if (addr.tag != null && addr.tag.equals(this.nOW.nOK.nJt)) {
            this.nOW.nOK.nJx = agv;
        } else if (!bo.isNullOrNil(addr.fBg)) {
            this.nOW.nOL.nOY.setVisibility(0);
        }
        if (addr.tag != null && this.nOW.nON.containsKey(addr.tag)) {
            c cVar = (c) this.nOW.nON.get(addr.tag);
            cVar.setText(cVar.getPreText() + agv);
        }
        AppMethodBeat.o(113591);
    }
}
