mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Merge pull request #722 from nguyenhuy/RelayoutCellAPI
Add relayout item/row APIs to ASTableView and ASCollectionView
This commit is contained in:
@@ -223,6 +223,16 @@
|
||||
*/
|
||||
- (void)reloadItemsAtIndexPaths:(NSArray *)indexPaths;
|
||||
|
||||
/**
|
||||
* Relayouts the specified item.
|
||||
*
|
||||
* @param indexPath The index path identifying the item to relayout.
|
||||
*
|
||||
* @discussion This method must be called from the main thread. The relayout is excuted on main thread.
|
||||
* The node of the specified item must be updated to cause layout changes before this method is called.
|
||||
*/
|
||||
- (void)relayoutItemAtIndexPath:(NSIndexPath *)indexPath;
|
||||
|
||||
/**
|
||||
* Moves the item at a specified location to a destination location.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user