Skip to content

Commit f010cd8

Browse files
committed
Enhance STBaseView and STRefreshControl with improved internal state management and safe area handling
- Introduced lazy initialization for scrollView and contentView in STBaseView to optimize performance. - Added internal flags to track the creation status of scrollView and tableView, allowing for better configuration management. - Updated safe area handling in STBaseView to ensure proper content inset adjustments during layout changes. - Enhanced STRefreshHeaderView and STLoadMoreFooterView with new methods for recalibrating original insets based on safe area changes, preventing layout issues during refresh operations. - Implemented safeguards against KVO loops when adjusting content insets in both refresh control classes.
1 parent bf536da commit f010cd8

2 files changed

Lines changed: 310 additions & 87 deletions

File tree

0 commit comments

Comments
 (0)