how it works behind the scenes is that the plugin ...
# anko
d
how it works behind the scenes is that the plugin creates some FrameLayout class, creates instance of your Component and put it inside this FrameLayout that is passed to preview class .. so if you have some different way how to init your Component other than simple empty constructor plugin doesnt know how to instantiate your component..you can make secondary empty constructor that passes some default value to primary constructor