app/src/main/java/com/example/android/popularmoviesapp/DetailAdapter.java
private boolean isVideosViewPrevious(Cursor cursor) {
        cursor.moveToPrevious();
        final boolean isVideosView = Utility.isVideosView(cursor);
        cursor.moveToNext();
        return isVideosView;
    }
/**
     * @return true iff the previous view was a video
     */
@return true iff the previous view was a video
@return true iff the previous view was a video
private boolean isVideosViewPrevious(Cursor cursor) {
        cursor.moveToPrevious();
        final boolean isVideosView = Utility.isVideosView(cursor);
        cursor.moveToNext();
        return isVideosView;
    }
private boolean isVideosViewPrevious ( Cursor cursor ) { cursor . moveToPrevious ( ) ; final boolean isVideosView = Utility . isVideosView ( cursor ) ; cursor . moveToNext ( ) ; return isVideosView ; }
@return true iff the previous view was a video
@return true iff the previous view was a video