use of org.robobinding.widget.EventCommand in project RoboBinding by RoboBinding.
the class OnTimeChangedAttributeTest method setUp.
@Before
public void setUp() {
attribute = new OnTimeChangedAttribute();
eventCommand = new EventCommand();
}
use of org.robobinding.widget.EventCommand in project RoboBinding by RoboBinding.
the class OnFocusLostAttributeTest method setUp.
@Before
public void setUp() {
attribute = new OnFocusLostAttribute();
eventCommand = new EventCommand();
}
use of org.robobinding.widget.EventCommand in project RoboBinding by RoboBinding.
the class OnLongClickAttributeTest method setUp.
@Before
public void setUp() {
attribute = new OnLongClickAttribute();
eventCommand = new EventCommand(Boolean.TRUE);
}
use of org.robobinding.widget.EventCommand in project RoboBinding by RoboBinding.
the class OnRefreshAttributeTest method setUp.
@Before
public void setUp() throws Exception {
view = new SwipeRefreshLayout(RuntimeEnvironment.application);
attribute = new OnRefreshAttribute();
eventCommand = new EventCommand();
}
use of org.robobinding.widget.EventCommand in project RoboBinding by RoboBinding.
the class OnItemClickAttributeTest method setUp.
@Before
public void setUp() {
attribute = new OnItemClickAttribute();
eventCommand = new EventCommand();
ListAdapter arrayAdapter = new SingleChoiceAdapter(RuntimeEnvironment.application);
view.setAdapter(arrayAdapter);
indexToClick = RandomValues.anyIndex(arrayAdapter.getCount());
}
Aggregations