Systers, an AnitaB.org community

Disable send request button if the person is not available to be mentor and mentee (Mentorship - Android)

Prerequisite

Description

When a person's profile is clicked upon on the Members page, the "Send Request" button is always working irrespective of the person's ability. After entering all the fields for request and pressing the "Send request" button, an error comes up if the person is unavailable. For a member who is not available to mentor and be a mentee, disable the "Send Request" button present on the Member Profile page such that a toast message is shown when the button is clicked. For a member who is available, the user should be directed to the "Send request" page.

Steps

  • Locate the files dealing displaying the member profile
  • Modify the "Send Request" button as described.

Resources:

Work Submission

Create a pull request with label "Program:GCI" in Mentorship-Android with the code changes for the task.

Task tags

  • systers
  • kotlin
  • code
  • mentorship

Students who completed this task

_daksha_, asawesome07, i_maier

Task type

  • code Code
close

2019