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
D:\h\2023\dev\and\ws\CloiBlockCoding\app\build\python\proxies\debug\button\PyBtn.java:16: error: no suitable constructor found for Button(no arguments)
public PyBtn(android.content.Context arg0) {
^
constructor Button.Button(Context) is not applicable
(actual and formal argument lists differ in length)
constructor Button.Button(Context,AttributeSet) is not applicable
(actual and formal argument lists differ in length)
constructor Button.Button(Context,AttributeSet,int) is not applicable
(actual and formal argument lists differ in length)
constructor Button.Button(Context,AttributeSet,int,int) is not applicable
(actual and formal argument lists differ in length)
Unfortunately it's not currently possible to implement a View in Python, because static_proxy can't pass through any constructor arguments. For updates on this, please subscribe to #10.
I run demo app and I saw below MenuFragment is changed to java class(build/python/proxies/..)
so I tried to make Button python class but failed
error message is here
maybe Context can not be passed to @constructor
but how other python class can be changed to java class??
they don't have init constructor
please help me..TT
thank you!!
The text was updated successfully, but these errors were encountered: