Open bloooi opened 3 years ago
I'm using vector image drawable (xml). Is that any problem?
Alerter.create(this) .setText(R.string.added_current_playlist) .setBackgroundColorInt(ContextCompat.getColor(this, R.color.activeStart)) .setIcon(R.drawable.add_track_playlist) .show()
android.content.res.ResourcesImpl.getValueForDensity (ResourcesImpl.java:285) android.content.res.Resources.getDrawableForDensity (Resources.java:964) android.content.res.Resources.getDrawable (Resources.java:880) android.content.Context.getDrawable (Context.java:689) androidx.core.content.ContextCompat.getDrawable (ContextCompat.java:455) com.tapadoo.alerter.utils.ExAlertKt.getRippleDrawable (ExAlert.kt:24) com.tapadoo.alerter.Alert.onAttachedToWindow (Alert.kt:142) android.view.View.dispatchAttachedToWindow (View.java:21307) android.view.ViewGroup.dispatchAttachedToWindow (ViewGroup.java:4239) android.view.ViewGroup.addViewInner (ViewGroup.java:6001) android.view.ViewGroup.addView (ViewGroup.java:5777) android.view.ViewGroup.addView (ViewGroup.java:5717) android.view.ViewGroup.addView (ViewGroup.java:5690) com.tapadoo.alerter.Alerter$show$$inlined$let$lambda$1.run (Alerter.kt:47) android.os.Handler.handleCallback (Handler.java:883) android.os.Handler.dispatchMessage (Handler.java:100) android.os.Looper.loop (Looper.java:237) android.app.ActivityThread.main (ActivityThread.java:8107) java.lang.reflect.Method.invoke (Method.java) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
i got same problem, please help
I'm using vector image drawable (xml). Is that any problem?
Alerter.create(this) .setText(R.string.added_current_playlist) .setBackgroundColorInt(ContextCompat.getColor(this, R.color.activeStart)) .setIcon(R.drawable.add_track_playlist) .show()