From fbe57b265f8e7a9b8cc094dc4dcad23b364373b2 Mon Sep 17 00:00:00 2001 From: adm Date: Wed, 23 Oct 2024 18:18:35 +0300 Subject: [PATCH] git add viewmodel --- .idea/deploymentTargetSelector.xml | 2 +- .../autorization/ui/fragments/SignUpScreen.kt | 29 --------- .../ui/fragments/signup/SignUpScreen.kt | 61 +++++++++++++++++++ .../ui/fragments/signup/SignUpState.kt | 9 +++ .../ui/fragments/signup/SignUpViewModel.kt | 20 ++++++ .../button_dark_rounded_background.xml | 5 ++ .../drawable/button_rounded_background.xml | 5 +- .../main/res/drawable/create_button_color.xml | 7 +++ app/src/main/res/layout/activity_main.xml | 4 +- .../res/layout/fragment_sign_up_screen.xml | 8 ++- app/src/main/res/values/colors.xml | 1 + 11 files changed, 114 insertions(+), 37 deletions(-) delete mode 100644 app/src/main/java/com/example/autorization/ui/fragments/SignUpScreen.kt create mode 100644 app/src/main/java/com/example/autorization/ui/fragments/signup/SignUpScreen.kt create mode 100644 app/src/main/java/com/example/autorization/ui/fragments/signup/SignUpState.kt create mode 100644 app/src/main/java/com/example/autorization/ui/fragments/signup/SignUpViewModel.kt create mode 100644 app/src/main/res/drawable/button_dark_rounded_background.xml create mode 100644 app/src/main/res/drawable/create_button_color.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index bfe7e15..515ed52 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,7 +4,7 @@