Back to project page daisy_main.
The source code is released under:
GNU General Public License
If you think the Android project daisy_main listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.uvwxy.daisy.nodemap.guiviews; /*from w w w . j av a 2s . c om*/ import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; public class CVMenuItem extends CV { private OnClickListener onClick; public CVMenuItem(OnClickListener onClick, String id, String title, int iconID) { super(id, title, iconID); this.onClick = onClick; isMenuAction = true; } @Override public void onClickAction() { super.onClickAction(); if (onClick != null) { onClick.onClick(null); } } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return null; } }