Skip to content

Poll app using MVVM, Coroutines, LiveData, Data binding and Room Database

Notifications You must be signed in to change notification settings

VivekThummar52/Poll-App

Repository files navigation

Poll App developed using MVVM, Coroutines, LiveData, Data binding and Room Database

Functionality and How app works:

  1. MainActivity with two fragments: CurrentPollFragment() and HistoryFragment(), a Fab button to launch and create a new Poll in an activity CreatePollActivity.
  2. in CreatePollActivity, user can add a question and add up to 5 options.
  3. After creating a new poll, it will be shown in CurrentPollFragment(), where user can select an option from the list of different polls.
  4. If there's any option selected, and user navigated to the HistoryFragment() or will launch an activity CreatePollActivity, poll with any options selected, will be moved to the History from Current. If user exits an app after selecting any options, then also it will move to the History from Current.
  5. If there's no option is selected, it will remain in the CurrentPollFragment().

Note: User can change their selection while poll is in Current Poll Tab and moving to History/CreatePollActivity or exiting an app will be considered as Submission as there's no separate button for Submission.

About

Poll app using MVVM, Coroutines, LiveData, Data binding and Room Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages