Systers, an AnitaB.org community

Show error when both current user & another user are only mentors & none of them needs mentoring in MemberProfileActivity (Mentorship - Android)

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. Assign yourself as only "available to mentor"
  2. Navigate to "Members" tab in BottomNavigationView
  3. Click on any other member who is only "available to mentor"
  4. In the MemberProfileActivity click on "Send Request" button, SendRequestActivity will open up
  5. Now, SendRequestActivity should not open because if both users are only "Available to mentor" then that request can't be possible and the user cannot be sent to SendRequestActivity
  6. Show either a Dialog box or SnackBar in MemberProfileActivity that displays "This request is not possible because both users are only ‘available to mentor’ “

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
  • design

Students who completed this task

Isabel

Task type

  • code Code
  • web Design

Level

Beginner
close

2019