Room member details: Add devices sections

- the device cell height is now adjustable
This commit is contained in:
giomfo
2016-11-28 17:16:21 +01:00
parent 4f1e079ab6
commit 9c0dd78df2
4 changed files with 23 additions and 11 deletions
+4 -2
View File
@@ -56,10 +56,12 @@
- (void)render:(MXDeviceInfo *)deviceInfo;
/**
Get the cell height.
Get the cell height for a given device information.
@param deviceInfo the device information.
@param width the extimated cell width.
@return the cell height.
*/
+ (CGFloat)cellHeight;
+ (CGFloat)cellHeightWithDeviceInfo:(MXDeviceInfo*)deviceInfo andCellWidth:(CGFloat)width;
@end