add nestedScrollingEnabled prop support

This commit is contained in:
侯歌 2024-07-10 16:41:33 +08:00
parent 7ca20f22cf
commit 18acce3218

View File

@ -213,6 +213,7 @@ View::View(Context*ctx,const AttributeSet&attrs){
}),0)<<SCROLL_INDICATORS_TO_PFLAGS3_LSHIFT)&SCROLL_INDICATORS_PFLAG3_MASK;
if(scrollIndicators) mPrivateFlags3 |= scrollIndicators;
if(attrs.getBoolean("isScrollContainer",false)) setScrollContainer(true);
setNestedScrollingEnabled(attrs.getBoolean("nestedScrollingEnabled",false));
if(viewFlagMasks)
setFlags(viewFlagValues, viewFlagMasks);