1.邦定 监听 处理_点击事件
2021-11-15 13:40
views:
266
source:
FYH
Button bat1 =(Button) findComponentById(ResourceTable.Id_bat1);
bat1.setClickedListener(new Component.ClickedListener() {
@Override
public void onClick(Component component) {
Intent navigationIntent = new Intent();
present(new MainAbilitySlice2(), navigationIntent);
}
});
Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.