是否可以对 onlongclickListener 执行两个操作.. 下面是示例代码
public class traction implements OnLongClickListener {
private Activity activity;
static int i = 0;
public traction(Activity activity) {
this.activity = activity;
}
public void onLongClick(View v) {
Intent i = new Intent(activity, login.class);
activity.startActivity(i);
}
}}
在这里,当我按 fst 时间时,活动触发,如果我长按三下,另一个活动应该触发...谢谢