Mentorship-android: App crashes when there is no network connection if we press send request button

Created on 25 Feb 2019  路  13Comments  路  Source: anitab-org/mentorship-android

Description

Describe the bug
In Members profile screen, if the network connection is not there when clicked on Send request button the app is crashing

Expected behavior
When there is no network if the user click on any member the should not show the details of the particular member and show the toast or snack bar that "there is no network connection"

To Reproduce
Steps to reproduce the behavior:

  1. Go to members screen
  2. Turn off the internet connection
  3. Then click on any member and click send request
  4. See error

Screenshots
The gif of the following bug

app crash

*Smartphone *

  • Device: Samsung j8
  • OS: 8.0.1 API 26

Update [Required]

  • [ ] The app should not crash if we click on send request button

Definition of Done

  • [ ] All of the required items are completed.
  • [ ] Approval by 1 mentor
Coding Bug

All 13 comments

@isabelcosta can I work on this thank you!

@isabelcosta can i work on this issue?

Yes you can @ak8527

@ilya-maier I'm assigning this issue to you since it's approved issue and you already implemented a PR.

@MariamKotob unassigning Ilya due to inactivity and making it availabe again.

@MariamKotob unassigning Ilya due to inactivity and making it availabe again.

Yeh, sure but also please consider closing the old PR.

Sorry, for clicking close accidentally

Can I work on this?

Assigning you @aakankshaa23
Happy coding!

Can someone please review my PR?

@aakankshaa23 can you submit a pull request? As a reviewer, we usually review pull requests instead of commits. Let me know if you need any help with it :)

@isabelcosta Thanks for reply. I submitted a pull req today only https://github.com/anitab-org/mentorship-android/pull/747

Closing this issue because it is very much similar to https://github.com/anitab-org/mentorship-android/issues/748 and it might get fixed with PR https://github.com/anitab-org/mentorship-android/pull/750

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iofall picture iofall  路  3Comments

mohak1283 picture mohak1283  路  9Comments

devanshi7799 picture devanshi7799  路  8Comments

isabelcosta picture isabelcosta  路  4Comments

annabauza picture annabauza  路  6Comments