List of usage examples for android.widget ExpandableListView PACKED_POSITION_VALUE_NULL
long PACKED_POSITION_VALUE_NULL
To view the source code for android.widget ExpandableListView PACKED_POSITION_VALUE_NULL.
Click Source Link
From source file:com.granita.tasks.TaskListFragment.java
@Override public int canFling(ListView v, int pos) { long packedPos = mExpandableListView.getExpandableListPosition(pos); if (packedPos != ExpandableListView.PACKED_POSITION_VALUE_NULL && ExpandableListView .getPackedPositionType(packedPos) == ExpandableListView.PACKED_POSITION_TYPE_CHILD) { return FlingDetector.RIGHT_FLING | FlingDetector.LEFT_FLING; } else {//from w w w. j a v a 2s .c o m return 0; } }