Systers, an AnitaB.org community
Disable send request button if the person is not available to be mentor and mentee (Mentorship - Android)
Prerequisite
- Create a GitHub account.
- Fork and clone Mentorship-Android
- Install Android Studio
- Run the project in Android Studio
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:
- Download Android Studio
- Setup Android Studio
- If you need help or get lost, post a "New topic" in the coding-android-tasks stream.
Work Submission
Create a pull request with label "Program:GCI" in Mentorship-Android with the code changes for the task.
Task tags
Students who completed this task
_daksha_, asawesome07, i_maier