public void METHOD_1 ( android.view.View view ) { switch ( type ) { case VAR_1 : VAR_2 . METHOD_2 ( view , VAR_3 . get ( position ) , position ) ; break ; case VAR_4 : VAR_5 . METHOD_3 ( view , VAR_3 . get ( position ) , position ) ; } }

public void METHOD_1 ( android.view.View view ) { switch ( type ) { case VAR_1 : if ( ( VAR_2 ) != null ) VAR_2 . METHOD_2 ( view , VAR_3 . get ( position ) , position ) ; break ; case VAR_4 : if ( ( VAR_5 ) != null ) VAR_5 . METHOD_3 ( view , VAR_3 . get ( position ) , position ) ; } }
