34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
|
package com.discord.widgets.channels;
|
||
|
|
||
|
import android.animation.ObjectAnimator;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: WidgetChannelTopic.kt */
|
||
|
public final class WidgetChannelTopic$onToggleTopicExpansionState$1 extends o implements Function1<Integer, Unit> {
|
||
|
public final /* synthetic */ WidgetChannelTopic this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public WidgetChannelTopic$onToggleTopicExpansionState$1(WidgetChannelTopic widgetChannelTopic) {
|
||
|
super(1);
|
||
|
this.this$0 = widgetChannelTopic;
|
||
|
}
|
||
|
|
||
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
||
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||
|
@Override // kotlin.jvm.functions.Function1
|
||
|
public /* bridge */ /* synthetic */ Unit invoke(Integer num) {
|
||
|
invoke(num.intValue());
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(int i) {
|
||
|
ObjectAnimator ofInt = ObjectAnimator.ofInt(WidgetChannelTopic.access$getBinding$p(this.this$0).f, "maxLines", i);
|
||
|
m.checkNotNullExpressionValue(ofInt, "animation");
|
||
|
ofInt.setDuration(150L);
|
||
|
ofInt.addListener(new WidgetChannelTopic$onToggleTopicExpansionState$1$animateMaxLines$$inlined$doOnEnd$1(this));
|
||
|
ofInt.start();
|
||
|
}
|
||
|
}
|