From c6599a9f415d14689bc55cc450fd92bd6e37d4ae Mon Sep 17 00:00:00 2001 From: vsuryakumar Date: Tue, 24 Jan 2023 17:13:05 +0530 Subject: [PATCH] added methods to parse read string from device into java objects + added progress bar --- .idea/misc.xml | 1 + app/build.gradle | 3 + .../example/refactoredapp/data/Constants.kt | 2 + .../data/model/TestRightCommands.kt | 1 + .../data/model/TestRightDeviceConstants.kt | 4 +- .../testRight/TestRightActivity.kt | 8 +- .../testRight/TestRightExpReference.kt | 48 +++++++--- .../testRight/TestRightViewModel.kt | 95 ++++++++++++++++++- .../res/drawable/progressbar_drawable.xml | 27 ++++++ .../fragment_test_right_exp_reference.xml | 52 ++++++++-- app/src/main/res/values/strings.xml | 3 + 11 files changed, 214 insertions(+), 30 deletions(-) create mode 100644 app/src/main/res/drawable/progressbar_drawable.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 360f507..6e44bea 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,6 +3,7 @@