<@U0GSLCF1D>: I think I got the `owner` thing, tak...
# anko
d
@ribesg: I think I got the
owner
thing, take a look at this example
Copy code
class MyFragment : Fragment() {

        override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?): View? {
            return MyCLass().createView(AnkoContext.create(activity, this))
        }
    }

    class MyCLass : AnkoComponent<MyFragment> {
        override fun createView(ui: AnkoContext<MyFragment>) = with(ui) {

            val yourFragment = owner
            verticalLayout {
            }

        }
    }