Systers, an AnitaB.org community

[Mentorship - Android] Create a BaseViewModel class.

Prerequisite:

  1. Fork and clone the project from the github repository
  2. Follow the documentation for successfully setting up the project
  3. Open Project in Android Studio

Steps:

  1. We are extending the ViewModel class everywhere.
  2. Instead, create a class BaseViewModel and move the common code to that class.
  3. Make all ViewModel classes extend BaseViewModel.

Resources:

Work Submission:

After successfully fixing this issue, commit and make a Pull Request. Title of PR should contain "Program:GCI"

  1. Commit Message Style Guide
  2. Sample PR structure
  3. Make sure to attach either screenshot or GIF of the fixed issue

Task tags

  • kotlin
  • android

Students who completed this task

_daksha_, BartekPacia, i_maier

Task type

  • code Code
  • done_all Quality Assurance
close

2019