public static String listStringConcat(List<String> list,String delimiter){
  StringBuilder builder=new StringBuilder();
  boolean first=true;
  for (  String item : list) {
    if (TextUtils.isEmpty(item))     continue;
    if (!first)     builder.append(delimiter);
    builder.append(item);
    first=false;
  }
  return builder.toString();
}

public static String listStringConcat ( List < String > list , String delimiter ) { StringBuilder builder = new StringBuilder ( ) ; boolean first = true ; for ( String item : list ) { if ( TextUtils . isEmpty ( item ) ) continue ; if ( ! first ) builder . append ( delimiter ) ; builder . append ( item ) ; first = false ; } return builder . toString ( ) ; }
concats a list of strings . . .
