Added CSV logging

This commit is contained in:
Ziver Koc 2014-07-31 09:53:04 +02:00
parent 319f6023e9
commit d9fac2807a
25 changed files with 200 additions and 144 deletions

View file

@ -30,14 +30,8 @@ public class EditActivity extends ListActivity implements AdapterView.OnItemClic
setContentView(R.layout.activity_edit);
final List<UeBehaviour> list;
if(getIntent().hasExtra("executor")) {
int executorIndex = getIntent().getExtras().getInt("executor_index");
executor = MainActivity.getExecutor(executorIndex);
list = executor.getBehaviourList();
}
else
list = new ArrayList<UeBehaviour>();
executor = MainActivity.getExecutor();
list = executor.getBehaviourList();
adapter = new BehaviourListAdapter(this, list);
adapter.setEditable(true);