Skip to content

MVVM based 👩‍💻android project via view binding🧬 and view model🎇✨

Notifications You must be signed in to change notification settings

nutanaarohi123/ShowMyAge-App

Repository files navigation

ShowMyAge-App

MVVM based👩‍💻 android project✔✨ via view binding🧬🧬 and view model

Show My Age 🧒 Android project

Language Used

  • Kotlin

Mini project for beginner trying to implement MVVM and viewbinding

Usuages :

  • user need to input the year of birth
  • accordingly, your age is displayed on clicking show My Age button

Layout used :

  • Constraint Layout
  • ScrollView (so user if rotate screen , can scroll freely , resulting flexible layout)

Why MVVM

If the user rotates the activity is stopped and started again. so the data is lost and user need to click button again.thus to save livedata , I have used viewModel .

app layout

  • Home Layout

Home Layout

Photo by Olivia Herlambang-Tham on Unsplash

  • OnClick button layout

btnlayout

Photo by Edgar Soto on Unsplash

Thank you for going through the project 🙂

About

MVVM based 👩‍💻android project via view binding🧬 and view model🎇✨

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages