question: private void addTag ( String key , String value , boolean mandatory , List < String > values , int position , boolean updatable , TagItem . Type type ) { String valueFormatted = ParserManager . getValue ( value , type ) ; type = type == null ? TagItem . Type . TEXT : type ; type = key . equals ( "collection_times" ) ? TagItem . Type . TIME : type ; type = key . equals ( "opening_hours" ) ? TagItem . Type . OPENING_HOURS : type ; TagItem tagItem = new TagItem ( key , value , mandatory , values , updatable ? type : TagItem . Type . CONSTANT , valueFormatted != null || type == TagItem . Type . NUMBER ) ; if ( ! tagItemList . contains ( tagItem ) ) { tagItemList . add ( position , tagItem ) ; } keyTagItem . put ( key , tagItem ) ; notifyItemInserted ( position ) ; }
target:  Add tag into global list of tag