mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add setNeedsDataFetch method to queue off screen fetchData calls
This commit is contained in:
@@ -442,7 +442,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* @see displaySuspended and setNeedsDisplay
|
||||
*/
|
||||
|
||||
- (void)recursivelyClearContents;
|
||||
|
||||
/**
|
||||
@@ -465,6 +464,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
- (void)recursivelyFetchData;
|
||||
|
||||
/**
|
||||
* @abstract Marks the node as needing to call fetchData
|
||||
* @discussion If the node is outside of the preload range, it is queued to call fetchData the next time it enters the range.
|
||||
* Otherwise, fetchData is called immediately if the node is currently within the preload range.
|
||||
*/
|
||||
- (void)setNeedsDataFetch;
|
||||
|
||||
/**
|
||||
* @abstract Toggle displaying a placeholder over the node that covers content until the node and all subnodes are
|
||||
* displayed.
|
||||
|
||||
Reference in New Issue
Block a user