AwesomeTextInputLayout icon indicating copy to clipboard operation
AwesomeTextInputLayout copied to clipboard

getEditText() is missing (please keep the api similar the Google implementation)

Open Shailevy opened this issue 4 years ago • 3 comments

Shailevy avatar Feb 25 '20 20:02 Shailevy

Can you please help me understand why is that method required? The way I see it is, EditText is part of the XML hierarchy and can be accessed via findViewById or any other alternate solution you prefer. It is not something created by AwesomeTextInputLayout.

anoop44 avatar Feb 26 '20 03:02 anoop44

https://developer.android.com/reference/com/google/android/material/textfield/TextInputLayout

I think a much better approach for library is to keep it interchangeable with the Google implementation..

It will make migration much easier.

P.S. EditText is outdated ... You should use com.google.android.material.textfield.TextInputEditText

Shailevy avatar Feb 26 '20 10:02 Shailevy

Changing libraries for a UI component doesn't sound like a common use case.

EditText is outdated ... You should use com.google.android.material.textfield.TextInputEditText

I am not sure what you meant by this. This library doesn't force the usage of EditText.

anoop44 avatar Feb 26 '20 15:02 anoop44