question: private void showFilterDialog ( Filter filter ) { int sortOrder = mAdapter . getCount ( ) - 1 ; if ( filter == null ) { EditFilterActivity . createNewFilter ( getActivity ( ) , sortOrder ) ; } else { EditFilterActivity . editFilter ( getActivity ( ) , filter , sortOrder ) ; } }
target:  Shows the Filter Dialog