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

Fixes #1559: Added internet connectivity check before loading client info #1560

Open
wants to merge 1 commit into
base: release-1.1
Choose a base branch
from

Conversation

danishjamal104
Copy link
Collaborator

@danishjamal104 danishjamal104 commented Nov 16, 2020

Fixes #1559

Screenshot

Screenshot 2020-11-15 at 10 44 03 PM

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.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.

@danishjamal104 danishjamal104 changed the title Added internet connectivity check before loading client info Fixes #1559: Added internet connectivity check before loading client info Nov 16, 2020
mifosng-android/gradle/wrapper/gradle-wrapper.properties Outdated Show resolved Hide resolved
mifosng-android/gradlew Outdated Show resolved Hide resolved
mifosng-android/gradlew.bat Outdated Show resolved Hide resolved
mifosng-android/local.properties Outdated Show resolved Hide resolved
Copy link
Member

@iamsh4shank iamsh4shank left a comment

Choose a reason for hiding this comment

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

LGTM

@iamsh4shank iamsh4shank added this to In progress in Release v1.1 via automation Jul 8, 2021
@iamsh4shank iamsh4shank moved this from In progress to Review in progress in Release v1.1 Jul 20, 2021
@iamsh4shank iamsh4shank changed the base branch from master to release-1.1 July 20, 2021 16:10
Copy link
Member

@iamsh4shank iamsh4shank left a comment

Choose a reason for hiding this comment

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

Hey @danishjamal104 can you fix the merge conflicts so that we could merge it soon :)

@@ -174,7 +176,15 @@ class ClientDetailsFragment : MifosBaseFragment(), ClientDetailsMvpView {
}

fun inflateClientInformation() {
mClientDetailsPresenter!!.loadClientDetailsAndClientAccounts(clientId)
val context = context
Copy link
Member

Choose a reason for hiding this comment

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

@danishjamal104 Move this in utils class, If Networkutils exist then fine otherwise create one

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

Successfully merging this pull request may close these issues.

Invalid toast in absence of internet connectivity while loading client info.
4 participants