Fixed about screen
This commit is contained in:
parent
ba153f5708
commit
433f60dac7
6 changed files with 20 additions and 8 deletions
|
|
@ -57,8 +57,8 @@ public class MainActivity extends FragmentActivity
|
|||
currentExecutor = 0;
|
||||
|
||||
UeControlExecutor exec = new UeControlExecutor();
|
||||
exec.addBehaviour(new UeBehaviourSleep(1000));
|
||||
exec.addBehaviour(new UeBehaviourSurfing("http://google.com"));
|
||||
exec.addBehaviour(new UeBehaviourSleep());
|
||||
exec.addBehaviour(new UeBehaviourSurfing());
|
||||
exec.addBehaviour(new UeBehaviourSleep(4000));
|
||||
exec.setThroughputListener(statusFragment.getThroughputListener());
|
||||
executors.add(exec);
|
||||
|
|
@ -70,6 +70,7 @@ public class MainActivity extends FragmentActivity
|
|||
FragmentManager fragmentManager = getFragmentManager();
|
||||
fragmentManager.beginTransaction()
|
||||
.replace(R.id.container, BehaviourListFragment.newInstance(position)).commit();
|
||||
currentExecutor = position;
|
||||
}
|
||||
|
||||
public void onSectionAttached(int number) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue