作者:叫我师大神 | 来源:互联网 | 2023-08-20 20:20
本文整理了Java中android.support.v7.app.ActionBarDrawerToggle.onDrawerClosed()方法的一些代码示例,展示了
本文整理了Java中android.support.v7.app.ActionBarDrawerToggle.onDrawerClosed()
方法的一些代码示例,展示了ActionBarDrawerToggle.onDrawerClosed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ActionBarDrawerToggle.onDrawerClosed()
方法的具体详情如下:
包路径:android.support.v7.app.ActionBarDrawerToggle
类名称:ActionBarDrawerToggle
方法名:onDrawerClosed
ActionBarDrawerToggle.onDrawerClosed介绍
暂无
代码示例
代码示例来源:origin: MindorksOpenSource/android-mvp-architecture
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
}
};
代码示例来源:origin: janishar/PlaceHolderView
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
}
};
代码示例来源:origin: wangdan/AisenWeiBo
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
}
代码示例来源:origin: Yalantis/Side-Menu.Android
/** Called when a drawer has settled in a completely closed state. */
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
linearLayout.removeAllViews();
linearLayout.invalidate();
}
代码示例来源:origin: hidroh/materialistic
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (drawerView.equals(mDrawer) && mPendingNavigation != null) {
final Intent intent = new Intent(DrawerActivity.this, mPendingNavigation);
if (mPendingNavigationExtras != null) {
intent.putExtras(mPendingNavigationExtras);
mPendingNavigatiOnExtras= null;
}
// TODO M bug https://code.google.com/p/android/issues/detail?id=193822
intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
startActivity(intent);
mPendingNavigation = null;
}
}
};
代码示例来源:origin: fossasia/pslab-android
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
}
代码示例来源:origin: syncthing/syncthing-android
@Override
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
mDrawerFragment.onDrawerClosed();
}
代码示例来源:origin: eclipse/paho.mqtt.android
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
getActivity().invalidateOptionsMenu();
}
代码示例来源:origin: MindorksOpenSource/android-mvp-interactor-architecture
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
}
};
代码示例来源:origin: developer-shivam/ChanelView
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
toFantasticScroll = true;
}
代码示例来源:origin: gabrielemariotti/changeloglib
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
drawerListener.onDrawerClosed(drawerView);
}
代码示例来源:origin: FreedomZZQ/YouJoin-Android
@Override
public void onDrawerClosed(View drawerView) {
if (mOnDrawerListener != null) {
mOnDrawerListener.onDrawerClosed(drawerView);
}
super.onDrawerClosed(drawerView);
}
代码示例来源:origin: geniusgithub/MediaPlayer
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
AlwaysLog.i(TAG, "onDrawerClosed");
}
};
代码示例来源:origin: doc-rj/smartcard-reader
/** called when a drawer has settled in a completely closed state */
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
// force call to onPrepareOptionsMenu()
mActivity.invalidateOptionsMenu();
}
代码示例来源:origin: enricocid/iven-feed-reader
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
//change toolbar title to the app's name
toolbar.setTitle(getResources().getString(R.string.app_name));
//hide the add feed menu option
HomeUtils.hideAddFeed(addFeed);
}
代码示例来源:origin: NightscoutFoundation/xDrip
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (!isAdded()) {
return;
}
getActivity().invalidateOptionsMenu();
}
代码示例来源:origin: Coinomi/coinomi-android
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (!isAdded()) {
return;
}
getActivity().supportInvalidateOptionsMenu(); // calls onPrepareOptionsMenu()
}
代码示例来源:origin: AppLozic/Applozic-Android-SDK
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (!isAdded()) {
return;
}
getActivity().supportInvalidateOptionsMenu(); // calls onPrepareOptionsMenu()
}
代码示例来源:origin: openwalletGH/openwallet-android
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (!isAdded()) {
return;
}
getActivity().supportInvalidateOptionsMenu(); // calls onPrepareOptionsMenu()
}
代码示例来源:origin: vipulyaara/betterHotels
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
if (!isAdded()) {
return;
}
getActivity().supportInvalidateOptionsMenu();
}