Merge pull request #217 from dweymouth/perf/reuse-widgets

Reuse complex widgets across pages to reduce memory spikes when browsing
This commit is contained in:
Drew Weymouth
2023-07-12 17:01:07 -07:00
committed by GitHub
19 changed files with 726 additions and 285 deletions
+4
View File
@@ -211,6 +211,10 @@ func (g *GridViewItem) Update(model GridViewItemModel) {
g.Cover.ResetPlayButton()
}
func (g *GridViewItem) Refresh() {
g.BaseWidget.Refresh()
}
func (g *GridViewItem) ItemID() string {
return g.itemID
}