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 Feb 26, 2023. It is now read-only.
@EViewGroup(R.layout.component)
publicclassCustomFrameLayoutextendsFrameLayout {
// This is what Android call when inflated from an XML layout filepublicCustomFrameLayout(Contextcontext, AttributeSetattrs) {
super(context, attrs);
}
// The user can define as many constructor he wants, and these should be programmatically usable.publicCustomFrameLayout(Contextcontext, inti) {
super(context);
}
...
}
Every constructor is copied into the subclass. The following can't work because the implementation behind would'nt be able to know if it should call inflate() or not.