You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We observed that pushing a UIViewController and returning back the expandedtableview looses cells' contents. We tried this in demo application with the same behaviour
The text was updated successfully, but these errors were encountered:
1. set tableView.autoReleaseDelegate = false
2. public var expandableDelegate => public weak var expandableDelegate
@Haykaz-Melikyan This will going to solve the actual issue. But using above code makes memory leak in view controller. Deinit is not getting called if we set tableView.autoReleaseDelegate = false.
Setting expandableDelegate in viewWillAppear will solve the issue as well as no memory leak!
like this override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) tableview.expandableDelegate = self }
We observed that pushing a UIViewController and returning back the expandedtableview looses cells' contents. We tried this in demo application with the same behaviour
The text was updated successfully, but these errors were encountered: