This fixes 'lateinit property mActivity has not been initialized' render error in android studio layout editor; this causes views to not render in the layout editor, thus making editing layout harder. On a real device mActivity should always be initialised.
This fixes 'lateinit property mActivity has not been initialized' render error in android studio layout editor; this causes views to not render in the layout editor, thus making editing layout harder. On a real device mActivity should always be initialised.