feat:fix ListView's auto resize height in iOS
This commit is contained in:
@@ -18,10 +18,27 @@
|
||||
//
|
||||
|
||||
#import "DoricListItemNode.h"
|
||||
#import "DoricExtensions.h"
|
||||
|
||||
@interface DoricListItemNode ()
|
||||
@end
|
||||
|
||||
@interface DoricListItemView : DoricStackView
|
||||
@end
|
||||
|
||||
@implementation DoricListItemView
|
||||
@end
|
||||
|
||||
|
||||
@implementation DoricListItemNode
|
||||
- (UITableViewCell *)build {
|
||||
return nil;
|
||||
- (instancetype)initWithContext:(DoricContext *)doricContext {
|
||||
if (self = [super initWithContext:doricContext]) {
|
||||
self.reusable = YES;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
|
||||
- (DoricStackView *)build {
|
||||
return [DoricListItemView new];
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user