本文整理了Java中com.mikepenz.materialdrawer.Drawer.setHeader()
方法的一些代码示例,展示了Drawer.setHeader()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Drawer.setHeader()
方法的具体详情如下:
包路径:com.mikepenz.materialdrawer.Drawer
类名称:Drawer
方法名:setHeader
[英]method to replace a previous set header
[中]方法替换以前的集合标头
代码示例来源:origin: mikepenz/MaterialDrawer
/**
* method to replace a previous set header
*
* @param view
* @param padding
* @param divider
*/
public void setHeader(@NonNull View view, boolean padding, boolean divider) {
setHeader(view, padding, divider, null);
}
代码示例来源:origin: mikepenz/MaterialDrawer
/**
* method to replace a previous set header
*
* @param view
*/
public void setHeader(@NonNull View view) {
setHeader(view, true, true);
}
代码示例来源:origin: mikepenz/MaterialDrawer
/**
* method to replace a previous set header
*
* @param view
* @param divider
*/
public void setHeader(@NonNull View view, boolean divider) {
setHeader(view, true, divider);
}
代码示例来源:origin: mikepenz/MaterialDrawer
mDrawer.setHeader(mAccountHeaderContainer, mPaddingBelowHeader, mDividerBelowHeader);
代码示例来源:origin: mikepenz/MaterialDrawer
result.setHeader(headerResult.getView());
result.setHeader(headerResult.getView());
代码示例来源:origin: FreedomZZQ/YouJoin-Android
/**
* method to replace a previous set header
*
* @param view
*/
public void setHeader(@NonNull View view) {
setHeader(view, true, true);
}
代码示例来源:origin: FreedomZZQ/YouJoin-Android
/**
* method to replace a previous set header
*
* @param view
* @param divider
*/
public void setHeader(@NonNull View view, boolean divider) {
setHeader(view, true, divider);
}
代码示例来源:origin: FreedomZZQ/YouJoin-Android
mDrawer.setHeader(mAccountHeaderContainer, mPaddingBelowHeader, mDividerBelowHeader);
内容来源于网络,如有侵权,请联系作者删除!