@ Override public int getItemViewType ( int position ) { if ( shouldInsertItemAtPosition ( position ) ) { return getItem ( position ) . getType ( ) ; } else { return mAdapter . getItemViewType ( position - itemInsertedBeforeCount ( position ) ) ; } }
overwrite the getItemViewType to correctly return the value from the FastAdapter