comments pt1

This commit is contained in:
2026-09-07 19:06:10 +08:00
parent de45eab0f5
commit 39e6291e9d
4 changed files with 92 additions and 3 deletions
@@ -144,6 +144,16 @@ class PoseOverlayView @JvmOverloads constructor(
feedbackUI?.showBanner(canvas, "Body too upright, take a larger 1st step efsdfdg d dg df gdgdfg df ")
}
/**
* @brief Attaches a FeedbackUI instance to this component.
*
* This method stores a reference to the provided [FeedbackUI] so that
* banner rendering and landmark overlays can be delegated to it. By
* attaching the UI handler here, the parent component gains access to
* feedback drawing utilities without needing to manage them directly.
*
* @param feedbackUI The [FeedbackUI] instance to associate with this component.
*/
fun attachFeedback(feedbackUI: FeedbackUI) {
this.feedbackUI = feedbackUI
}