You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
I tried to use :constructor-args with a View class that has a constructor with two arguments, the second beeing a primitive int.
[:my-view {:constructor-args [256]}
results in following error java.lang.NoSuchMethodException: <init> [class android.content.Context, class java.lang.Long]
[:my-view {:constructor-args [(int 256)]}
results in following error java.lang.NoSuchMethodException: <init> [class android.content.Context, class java.lang.Integer]
I believe the only way to support this case, is to add some kind of special syntax or metadata to :constructor-args.