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

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

class NearLifeCreatePoiUI$5 implements a {
    final /* synthetic */ NearLifeCreatePoiUI oSJ;

    NearLifeCreatePoiUI$5(NearLifeCreatePoiUI nearLifeCreatePoiUI) {
        this.oSJ = nearLifeCreatePoiUI;
    }

    public final void b(Addr addr) {
        AppMethodBeat.i(22976);
        String str = bo.nullAsNil(addr.fBi) + bo.nullAsNil(addr.fBk);
        String str2 = bo.nullAsNil(addr.fBl) + bo.nullAsNil(addr.fBm);
        ab.d("MicroMsg.NearLifeCreatePoiUI", "get address:".concat(String.valueOf(str)));
        if (bo.isNullOrNil(NearLifeCreatePoiUI.e(this.oSJ).getText().toString())) {
            NearLifeCreatePoiUI.e(this.oSJ).setText(str);
        }
        if (bo.isNullOrNil(NearLifeCreatePoiUI.f(this.oSJ).getText().toString()) && !bo.isNullOrNil(str2)) {
            NearLifeCreatePoiUI.f(this.oSJ).setText(str2);
        }
        NearLifeCreatePoiUI.a(this.oSJ, addr);
        AppMethodBeat.o(22976);
    }
}
