Fixed dialog rotation
This commit is contained in:
parent
bb45d90fae
commit
a67a80e168
2 changed files with 19 additions and 5 deletions
|
|
@ -84,10 +84,11 @@ public class EditActivity extends ListActivity implements AdapterView.OnItemClic
|
|||
@Override
|
||||
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
|
||||
UeBehaviour behaviour = executor.getBehaviourList().get(i);
|
||||
Configurator confer = new Configurator(behaviour);
|
||||
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putInt("object_index", i);
|
||||
ConfigureDialog dialog = new ConfigureDialog();
|
||||
dialog.setConfigurator(confer);
|
||||
dialog.setArguments(bundle);
|
||||
dialog.show(getFragmentManager(), "behaviour_configurator");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue