Customizable text inputs in the fields#4
Open
dustedrob wants to merge 2 commits intosirvar:masterfrom
Open
Conversation
Added Java 8 compatibility Updated support library Fixed code maturity inspections SignupFragment and LoginFragment textInputs are now customizable
dwillmc
suggested changes
Feb 5, 2018
|
|
||
| # Usage | ||
| Add this to your **build.gradle** | ||
| Add it in your root build.gradle at the end of repositories: |
There was a problem hiding this comment.
Don't add instructions for your own hosted artifact to the README
| return !(email.getText().toString().isEmpty() || password.getText().toString().isEmpty()); | ||
|
|
||
|
|
||
| for( int i = 0; i < layout.getChildCount(); i++ ) { |
There was a problem hiding this comment.
Please fix the formatting here to match the rest of the code base. Open brace on same line and fix spacing on for( int i = 0; i < layout.getChildCount(); i++ ) {
| * can modify it's fields and components | ||
| * @param signupFragment | ||
| */ | ||
| public void onSignupFragmentCreated(SignupFragment signupFragment) |
| * can modify it's fields and components | ||
| * @param loginFragment | ||
| */ | ||
| public void onLoginFragmentCreated(LoginFragment loginFragment) |
| return (!(name.getText().toString().isEmpty() || email.getText().toString().isEmpty() || password.getText().toString().isEmpty()) && (password.getText().toString().equals(confirmPassword.getText().toString()))); | ||
|
|
||
|
|
||
| for( int i = 0; i < layout.getChildCount(); i++ ) { |
| * @param visibility .- The {@link android.view.View} Visibility for this field | ||
| * @param hint .- The hint for this Field. Will use default if null | ||
| */ | ||
| public void setEmailField(int visibility, @Nullable String hint) |
| * @param visibility .- The {@link android.view.View} Visibility for this field | ||
| * @param hint .- The hint for this Field. Will use default if null | ||
| */ | ||
| public void setNameField(int visibility, @Nullable String hint) |
| * @param visibility .- The {@link android.view.View} Visibility for this field | ||
| * @param hint .- The hint for this Field. Will use default if null | ||
| */ | ||
| public void setPasswordField(int visibility, @Nullable String hint) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for creating this library. I added some extra options to make it more customizable.
Added Java 8 compatibility
Updated support library
Fixed code maturity inspections
SignupFragment and LoginFragment textInputs are now customizable