Previously, base.Initialize() of LinearLayouter and GridLayouter was not
called if source was empty.
This caused Container to be null and caused null reference in
RequestLayout().
Now, it is guaranteed that base.Initialize() of LinearLayouter and
GridLayouter is called.
Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
if (pureCount == 0)
{
isSourceEmpty = true;
+ base.Initialize(colView);
return;
}
isSourceEmpty = false;
if (count == (hasHeader? (hasFooter? 2 : 1) : 0))
{
isSourceEmpty = true;
+ base.Initialize(view);
return;
}
isSourceEmpty = false;