comments pt1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user