Prepare UX rework:

- Handle optional sticky headers at RecentsViewController level.

TODO fix some flickering effects observed on the sticky headers during scrolling.
This commit is contained in:
Giom Foret
2017-04-14 11:49:14 +02:00
parent 076ca21993
commit 168111ed85
8 changed files with 431 additions and 66 deletions
+6
View File
@@ -100,6 +100,12 @@
}
}
- (UIView *)viewForStickyHeaderInSection:(NSInteger)section withFrame:(CGRect)frame
{
// Return the actual section header for this frame.
return [self viewForHeaderInSection:section withFrame:frame];
}
#pragma mark -
- (MXKSessionRecentsDataSource *)addMatrixSession:(MXSession *)mxSession