本文整理汇总了Java中com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom.setOnClickListener方法的典型用法代码示例。如果您正苦于以下问题:Java NavigationDrawerListItemBottom.setOnClickListener方法的具体用法?Java NavigationDrawerListItemBottom.setOnClickListener怎么用?Java NavigationDrawerListItemBottom.setOnClickListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom
的用法示例。
在下文中一共展示了NavigationDrawerListItemBottom.setOnClickListener方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addSettings
import com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom; //导入方法依赖的package包/类
public NavigationDrawerBottomHandler addSettings(View.OnClickListener onClickListener) {
NavigationDrawerListItemBottom item = new NavigationDrawerListItemBottom(mContext,
NavigationDrawerListItemBottom.SETTINGS);
item.setOnClickListener(onClickListener);
mItems.add(item);
return this;
}
示例2: addHelpAndFeedback
import com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom; //导入方法依赖的package包/类
public NavigationDrawerBottomHandler addHelpAndFeedback(View.OnClickListener onClickListener) {
NavigationDrawerListItemBottom item = new NavigationDrawerListItemBottom(mContext,
NavigationDrawerListItemBottom.HELP_AND_FEEDBACK);
item.setOnClickListener(onClickListener);
mItems.add(item);
return this;
}
示例3: addItem
import com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom; //导入方法依赖的package包/类
public NavigationDrawerBottomHandler addItem(int titleResource,
View.OnClickListener onClickListener) {
NavigationDrawerListItemBottom item = new NavigationDrawerListItemBottom(mContext,
NavigationDrawerListItemBottom.CUSTOM);
item.setTitle(mContext, titleResource);
item.setOnClickListener(onClickListener);
mItems.add(item);
return this;
}
示例4: addItem
import com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom; //导入方法依赖的package包/类
public NavigationDrawerBottomHandler addItem(int titleResource,
int iconResource,
View.OnClickListener onClickListener) {
NavigationDrawerListItemBottom item = new NavigationDrawerListItemBottom(mContext,
NavigationDrawerListItemBottom.CUSTOM);
item.setTitle(mContext, titleResource);
item.setIcon(mContext, iconResource);
item.setOnClickListener(onClickListener);
mItems.add(item);
return this;
}
示例5: addItem
import com.blunderer.materialdesignlibrary.models.NavigationDrawerListItemBottom; //导入方法依赖的package包/类
public NavigationDrawerBottomHandler addItem(String title,
View.OnClickListener onClickListener) {
NavigationDrawerListItemBottom item = new NavigationDrawerListItemBottom(mContext,
NavigationDrawerListItemBottom.CUSTOM);
item.setTitle(title);
item.setOnClickListener(onClickListener);
mItems.add(item);
return this;
}