@Override public boolean onNavigationItemSelected(int itemPosition, long itemId) { //This should never be a NullPointerException since we only set //ourselves as the listener when the callback is not null. return mNavigationListener.onNavigationItemSelected(itemPosition, itemId); }
@Override public boolean onNavigationItemSelected(int itemPosition, long itemId) { //This should never be a NullPointerException since we only set //ourselves as the listener when the callback is not null. return mNavigationListener.onNavigationItemSelected(itemPosition, itemId); }
public void onItemSelected(IcsAdapterView parent, View view, int position, long id) { if (mCallback != null) { mCallback.onNavigationItemSelected(position, id); } } public void onNothingSelected(IcsAdapterView parent) {
public void onItemSelected(IcsAdapterView parent, View view, int position, long id) { if (mCallback != null) { mCallback.onNavigationItemSelected(position, id); } } public void onNothingSelected(IcsAdapterView parent) {