-
Notifications
You must be signed in to change notification settings - Fork 604
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
Feat: Added feature to add client image through camera or gallery while creating a client. #1164
Feat: Added feature to add client image through camera or gallery while creating a client. #1164
Conversation
...roid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientFragment.java
Outdated
Show resolved
Hide resolved
...roid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientFragment.java
Outdated
Show resolved
Hide resolved
...roid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientFragment.java
Outdated
Show resolved
Hide resolved
...roid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientFragment.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientPresenter.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientPresenter.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/com/mifos/mifosxdroid/online/createnewclient/CreateNewClientPresenter.java
Outdated
Show resolved
Hide resolved
@@ -106,7 +128,9 @@ | |||
CreateNewClientPresenter createNewClientPresenter; | |||
|
|||
View rootView; | |||
private boolean createClientWithImage = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide some better name which clarifies its use. It seems like a flag to save the state. Alternatively, (though less preferred) add a comment here about the variable usage so that future developers may get idea about why it was used.
198e27d
to
7849eee
Compare
@tarun0 I have made the requested changes. Please review. |
@moksh-mahajan Please resolve merge conflicts |
7849eee
to
fa70982
Compare
@moksh-mahajan can you review this task |
@moksh-mahajan Please fix conflicts. |
…ating a client. The workflow is like this: After the creation of a new client, in the response clientId is provided, and this using this clientId a new http request is made to upload client picture either from camera or through gallery.
1e595d9
to
2f9557a
Compare
The workflow is like this: After the creation of a new
client, in the response clientId is provided, and this using this clientId a new HTTP request is made to upload client picture either from
camera or through the gallery.
Please Add Screenshots If there are any UI changes.
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 anythingIf you have multiple commits please combine them into one commit by squashing them.