Risolta anomalia del filtro ordine quando si recupera una UL.

Risolta anomalia dello spazio nel campo del Lotto.
This commit is contained in:
Giuseppe Scorrano 2020-12-17 13:03:00 +01:00
parent 5be3fd9c25
commit 9ac96ac8fd
3 changed files with 5 additions and 3 deletions

View File

@ -102,8 +102,8 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.3.0-alpha03'
implementation 'androidx.constraintlayout:constraintlayout:2.0.3'
implementation 'com.google.android.material:material:1.3.0-alpha04'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.preference:preference-ktx:1.1.1'

View File

@ -171,7 +171,7 @@ public class Converters {
view.addTextChangedListener(watcher);
}
String newValue = observableString.get();
String viewValue = view.getText().toString().trim();
String viewValue = view.getText().toString();
if(!viewValue.equalsIgnoreCase(newValue)) {
view.setText(newValue);

View File

@ -1445,6 +1445,8 @@ public class SpedizioneViewModel {
this.mCurrentMtbColt = mtbColt;
mMtbColtSessionID = this.mColliDataRecoverService.startNewSession(mtbColt, mTestateOrdini);
this.mCurrentMtbColt.generaFiltroOrdineFromDTO(mDefaultFiltroOrdine);
this.resetMatchedRows();
this.sendLUOpened(this.mCurrentMtbColt);
}