Multi select eff type
This commit is contained in:
@ -1058,7 +1058,7 @@ public class LocustDelActivity extends FragmentActivity implements LocationListe
|
|||||||
//Type of biological impact being assessed (I build a table of checkboxes)
|
//Type of biological impact being assessed (I build a table of checkboxes)
|
||||||
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
|
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
|
||||||
guiTable.add(edtBiologicalImpact, "efficacy_impact");
|
guiTable.add(edtBiologicalImpact, "efficacy_impact");
|
||||||
OnCheckedChangeListener occlBiologicalImpact = new OnCheckedChangeListener()
|
CompoundButton.OnCheckedChangeListener occlBiologicalImpact = new CompoundButton.OnCheckedChangeListener()
|
||||||
{
|
{
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
||||||
{
|
{
|
||||||
@ -1084,14 +1084,8 @@ public class LocustDelActivity extends FragmentActivity implements LocationListe
|
|||||||
|
|
||||||
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
|
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
|
||||||
{
|
{
|
||||||
public void afterTextChanged(Editable s)
|
public void afterTextChanged(Editable s){}
|
||||||
{
|
public void beforeTextChanged(CharSequence s, int start, int count, int after){}
|
||||||
}
|
|
||||||
|
|
||||||
public void beforeTextChanged(CharSequence s, int start, int count, int after)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onTextChanged(CharSequence s, int start, int before, int count)
|
public void onTextChanged(CharSequence s, int start, int before, int count)
|
||||||
{
|
{
|
||||||
String str = LocustDelActivity.this.edtBiologicalImpact.getText().toString();
|
String str = LocustDelActivity.this.edtBiologicalImpact.getText().toString();
|
||||||
|
|||||||
@ -1309,7 +1309,7 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
|
|||||||
|
|
||||||
//Type of biological impact being assessed (I build a table of checkboxes)
|
//Type of biological impact being assessed (I build a table of checkboxes)
|
||||||
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
|
edtBiologicalImpact = findViewById(R.id.edtBiologicalImpact);
|
||||||
guiTableHealth.add(edtBiologicalImpact, "efficacy_impact");
|
guiTableDel.add(edtBiologicalImpact, "efficacy_impact");
|
||||||
CompoundButton.OnCheckedChangeListener occlBiologicalImpact = new CompoundButton.OnCheckedChangeListener()
|
CompoundButton.OnCheckedChangeListener occlBiologicalImpact = new CompoundButton.OnCheckedChangeListener()
|
||||||
{
|
{
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
||||||
@ -1336,14 +1336,8 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
|
|||||||
|
|
||||||
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
|
edtBiologicalImpact.addTextChangedListener(new TextWatcher()
|
||||||
{
|
{
|
||||||
public void afterTextChanged(Editable s)
|
public void afterTextChanged(Editable s){}
|
||||||
{
|
public void beforeTextChanged(CharSequence s, int start, int count, int after){}
|
||||||
}
|
|
||||||
|
|
||||||
public void beforeTextChanged(CharSequence s, int start, int count, int after)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onTextChanged(CharSequence s, int start, int before, int count)
|
public void onTextChanged(CharSequence s, int start, int before, int count)
|
||||||
{
|
{
|
||||||
String str = LocustHealthActivity.this.edtBiologicalImpact.getText().toString();
|
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)
|
//Type of biological impact being assessed (I build a table of checkboxes)
|
||||||
edtEffTypeImpact = findViewById(R.id.edtEffTypeImpact);
|
edtEffTypeImpact = findViewById(R.id.edtEffTypeImpact);
|
||||||
guiTableDel.add(edtEffTypeImpact, "efficacy_impact_type");
|
guiTableHealth.add(edtEffTypeImpact, "efficacy_impact_type");
|
||||||
CompoundButton.OnCheckedChangeListener occlEffTypeImpact = new CompoundButton.OnCheckedChangeListener()
|
CompoundButton.OnCheckedChangeListener occlEffTypeImpact = new CompoundButton.OnCheckedChangeListener()
|
||||||
{
|
{
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
||||||
|
|||||||
Reference in New Issue
Block a user