title: What is the faster way to add the items from a class to an ArrayList to create a ListView?
body: <pre><code>public class LengthConversion {
      public static final String M_TO_CM = &quot;meter to centimeter&quot;;
      public static final String M_TO_MM = &quot;meter to millimeter&quot;;
      public static final String M_TO_DM = &quot;meter to decimeter&quot;;
      public static final String KM_TO_M = &quot;kilometer to meter&quot;;
      public static final String INCH_TO_M = &quot;inch to meter&quot;;
      public static final String FOOT_TO_M = &quot;foot to meter&quot;;
      public static final String ASM_TO_M = &quot;angstrom to meter&quot;;
      public static final String FM_TO_M = &quot;fermi to meter&quot;;
      public static final String MILE_TO_KM = &quot;mile to kilometer&quot;;}
  </code></pre>
  <p>I am adding these string to the ArrayList one by one by .add() function. Is there another way?</p>