Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #208 : Added Toast for Server Down #210

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Fix #208 : Added Toast for Server Down #210

wants to merge 1 commit into from

Conversation

miPlodder
Copy link

@miPlodder miPlodder commented Jan 27, 2018

Fixes #208

pr_server_down

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@miPlodder
Copy link
Author

miPlodder commented Jan 27, 2018

@therajanmaurya Please review this PR.


if (throwable instanceof SSLHandshakeException) {
getMvpView().showError(
"Server Down, Try after some time");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put this string in strings.xml and use it here. we don't support hard-coded string. please keep in mind for the next time.

@miPlodder miPlodder changed the title Toast Added : for serverdown fixedIssue #208 - Added Toast for serverdown Mar 7, 2018
@miPlodder miPlodder changed the title fixedIssue #208 - Added Toast for serverdown Fix #208 : Added Toast for Server Down Mar 14, 2018
@miPlodder
Copy link
Author

@therajanmaurya I have improved the PR. Please review it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants