From daa563f8b359f923a3142ec527fe41a74c3ecf3b Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Wed, 19 Jun 2024 11:41:16 +0900 Subject: [PATCH] App: Seperate pipeline pause and close This patch seperates pipeline pause an close. Also, now we can see pipeline status in main activity. Signed-off-by: Yelin Jeong --- .../ml/inference/offloading/MainActivity.kt | 15 ++++-- .../ml/inference/offloading/MainService.kt | 52 +++++++++++++------ .../src/main/res/layout/models.xml | 10 +++- .../src/main/res/values/strings.xml | 4 +- 4 files changed, 59 insertions(+), 22 deletions(-) diff --git a/ml_inference_offloading/src/main/java/ai/nnstreamer/ml/inference/offloading/MainActivity.kt b/ml_inference_offloading/src/main/java/ai/nnstreamer/ml/inference/offloading/MainActivity.kt index abf09ca..afbc387 100644 --- a/ml_inference_offloading/src/main/java/ai/nnstreamer/ml/inference/offloading/MainActivity.kt +++ b/ml_inference_offloading/src/main/java/ai/nnstreamer/ml/inference/offloading/MainActivity.kt @@ -41,14 +41,23 @@ class MainActivity : ComponentActivity() { fun bind(info: ModelInfo) { val start = itemView.findViewById