discord-jadx/app/src/main/java/com/discord/widgets/user/profile/UserProfileConnectionsView$...

35 lines
1.6 KiB
Java

package com.discord.widgets.user.profile;
import android.view.View;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.platform.Platform;
import com.discord.widgets.user.profile.UserProfileConnectionsView;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function3;
/* compiled from: UserProfileConnectionsView.kt */
public final class UserProfileConnectionsView$ViewHolder$onConfigure$1 implements View.OnClickListener {
public final /* synthetic */ Platform $platform;
public final /* synthetic */ int $platformImageRes;
public final /* synthetic */ String $profileUrl;
public final /* synthetic */ String $username;
public final /* synthetic */ UserProfileConnectionsView.ViewHolder this$0;
public UserProfileConnectionsView$ViewHolder$onConfigure$1(UserProfileConnectionsView.ViewHolder viewHolder, Platform platform, String str, int i, String str2) {
this.this$0 = viewHolder;
this.$platform = platform;
this.$username = str;
this.$platformImageRes = i;
this.$profileUrl = str2;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
AnalyticsTracker.connectedAccountViewed(this.$platform.getPlatformId());
Function3<String, Integer, String, Unit> onConnectedAccountClick = UserProfileConnectionsView.ViewHolder.access$getAdapter$p(this.this$0).getOnConnectedAccountClick();
String str = this.$username;
m.checkNotNullExpressionValue(str, "username");
onConnectedAccountClick.invoke(str, Integer.valueOf(this.$platformImageRes), this.$profileUrl);
}
}