Vaibhav Jaiswal
11/05/2024, 1:45 PMUITableViewCell
in Compose Multiplatform?Vaibhav Jaiswal
11/05/2024, 1:59 PMUITableViewCell
override fun cellForMentionsEntity(
entity: HKWMentionsEntityProtocolProtocol?,
withMatchString: String?,
tableView: UITableView?,
atIndexPath: NSIndexPath?
): UITableViewCell?
How can i use UiKitView here?Andrei Salavei
11/05/2024, 2:02 PMUITableViewCell
and override reuseIdentifier
.Andrei Salavei
11/05/2024, 2:03 PMUITalbeView
api, I would recommend check it first - because in most cases you don't need to create cell by youtselve.Vaibhav Jaiswal
11/05/2024, 2:05 PMtableView?.registerNib(
nib = UINib.nibWithNibName("UserTableViewCell", null),
forCellReuseIdentifier = "userCell"
)
return tableView?.dequeueReusableCellWithIdentifier("userCell")?.apply {
this.contentView =
}
But i cannot set contentView
to a ComposeUiViewController().view
as its a val
Andrei Salavei
11/05/2024, 2:36 PMUITableView
api and how to create cells without interface file. For example, here: https://medium.com/thecodr/uitableview-uitableviewcell-without-storyboard-swift-5-2cc1d608be6cVaibhav Jaiswal
11/05/2024, 2:43 PMAndrei Salavei
11/05/2024, 2:53 PM