title: How to add choice chip dynamically in android studio in my case
body: <h4>I have Model Class Like this:</h4>
  <pre><code>private String animalName, type;
  
  public Model(){}
  
  public Model(String animalName, String type){
   this.animalName = animalName;
   this.type = type;
  }
  //and getter and setters for all vars
  </code></pre>
  <p>And <code>ArrayList&lt;Model&gt;();</code> according to my model class</p>
  <p>so I want to check if my <code>ArrayList&lt;&gt;()</code> contains a specific Type ie. <strong>herbivore</strong>
  then add those animals according to their type in different ArrayList and I want to make <strong><code>CHOICE CHIPS</code></strong> according to my type. here is an example of my app:</p>
  <p><a href="https://i.stack.imgur.com/k04JQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k04JQ.png" alt="enter image description here" /></a></p>
  <h4>Note I am using RecyclerView to display Images</h4>
  <p><strong>How Can I add That Choice Chips According to my Model Class</strong>
  and OnClick on any chips load shows Images according to that.</p>
  <p>Any Solution is Appreciated.</p>