Java Code Examples for android.widget.AbsListView#MultiChoiceModeListener

The following examples show how to use android.widget.AbsListView#MultiChoiceModeListener . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MainActivityAppListFragment.java    From FreezeYou with Apache License 2.0 5 votes vote down vote up
public void setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener listener) {
    mMultiChoiceModeListener = listener;
    if (mUseGridMode) {
        if (mAppListGridView != null) {
            mAppListGridView.setMultiChoiceModeListener(mMultiChoiceModeListener);
        }
    } else {
        if (mAppListListView != null) {
            mAppListListView.setMultiChoiceModeListener(mMultiChoiceModeListener);
        }
    }
}
 
Example 2
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void multiChoiceModeListener(AbsListView.MultiChoiceModeListener arg) {
  return BaseDSL.attr("multiChoiceModeListener", arg);
}
 
Example 3
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void multiChoiceModeListener(AbsListView.MultiChoiceModeListener arg) {
  return BaseDSL.attr("multiChoiceModeListener", arg);
}
 
Example 4
Source File: MultiChoiceAdapterHelperBase.java    From example with Apache License 2.0 4 votes vote down vote up
public AbsListView.MultiChoiceModeListener getMultiChoiceModeListener() {
    return mMultiChoiceModeListener;
}
 
Example 5
Source File: MultiChoiceAdapterHelperBase.java    From example with Apache License 2.0 4 votes vote down vote up
public void setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener multiChoiceModeListener) {
    mMultiChoiceModeListener = multiChoiceModeListener;
}