Merge branch 'develop' of https://git.ccalm.org/igor/org.ccalm.asdc into develop

This commit is contained in:
Igor I
2025-09-04 10:31:32 +05:00
4 changed files with 10 additions and 24 deletions

View File

@ -1058,7 +1058,7 @@ public class LocustDelActivity extends FragmentActivity implements LocationListe
//Type of biological impact being assessed (I build a table of checkboxes)
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
guiTable.add(edtBiologicalImpact, "efficacy_impact");
OnCheckedChangeListener occlBiologicalImpact = new OnCheckedChangeListener()
CompoundButton.OnCheckedChangeListener occlBiologicalImpact = new CompoundButton.OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
{
@ -1084,14 +1084,8 @@ public class LocustDelActivity extends FragmentActivity implements LocationListe
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
{
public void afterTextChanged(Editable s)
{
}
public void beforeTextChanged(CharSequence s, int start, int count, int after)
{
}
public void afterTextChanged(Editable s){}
public void beforeTextChanged(CharSequence s, int start, int count, int after){}
public void onTextChanged(CharSequence s, int start, int before, int count)
{
String str = LocustDelActivity.this.edtBiologicalImpact.getText().toString();

View File

@ -1309,7 +1309,7 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
//Type of biological impact being assessed (I build a table of checkboxes)
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
guiTableHealth.add(edtBiologicalImpact, "efficacy_impact");
guiTableDel.add(edtBiologicalImpact, "efficacy_impact");
CompoundButton.OnCheckedChangeListener occlBiologicalImpact = new CompoundButton.OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
@ -1336,14 +1336,8 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
{
public void afterTextChanged(Editable s)
{
}
public void beforeTextChanged(CharSequence s, int start, int count, int after)
{
}
public void afterTextChanged(Editable s){}
public void beforeTextChanged(CharSequence s, int start, int count, int after){}
public void onTextChanged(CharSequence s, int start, int before, int count)
{
String str = LocustHealthActivity.this.edtBiologicalImpact.getText().toString();
@ -1512,7 +1506,7 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
//Type of biological impact being assessed (I build a table of checkboxes)
edtEffTypeImpact = findViewById(R.id.edtEffTypeImpact);
guiTableDel.add(edtEffTypeImpact, "efficacy_impact_type");
guiTableHealth.add(edtEffTypeImpact, "efficacy_impact_type");
CompoundButton.OnCheckedChangeListener occlEffTypeImpact = new CompoundButton.OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)

View File

@ -2091,10 +2091,8 @@
android:id="@+id/edtClothing"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:layout_row="2"
android:hint=""
android:visibility="invisible" />
android:inputType="text"
android:visibility="gone" />
</LinearLayout>
<GridLayout