I recently just created a custom view group to test whether or not you really need to include super.onMeasure()
or super.onLayout()
when extending the view or viewgroup and overriding the onMeasure()
and onLayout()
method. What I found was that you don't need to include the super.onMeasure()
or super.onLayout()
and everything still works fine.
So if that is the case what exactly is super.onMeasure()
and super.onLayout()
use for and why should I even call it to begin with?