title: How to rest/initial-state a view after this animation?
body: <p>As titles said I need to reset a View which is <code>TextView</code>, <code>ImageView</code> and others to it's initial state. For example after touch that particular view, an animation play and it's animation destroy(Visually) that view.</p>
  
  <p>Now i need to redraw it again. Hope you got the idea. Also I've used ExplosionField effect from <a href="https://github.com/tyrantgit/ExplosionField" rel="nofollow noreferrer">https://github.com/tyrantgit/ExplosionField</a>. I've ran the code and it's working.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>private ExplosionField mExplosionField;
  private TextView tv_1;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      tv_1 = (TextView)findViewById(R.id.mytext_xml);
      mExplosionField = ExplosionField.attach2Window(this);
      addListener(findViewById(R.id.root));
  
  }
  
  private void addListener(View root) {
      // TODO Auto-generated method stub
      if (root instanceof ViewGroup) {
          ViewGroup parent = (ViewGroup) root;
          for (int i = 0; i &lt; parent.getChildCount(); i++) {
              addListener(parent.getChildAt(i));
          }
      } else {
          root.setClickable(true);
          root.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  mExplosionField.explode(v);
                  v.setOnClickListener(null);
              }
          });
      }
  }
  </code></pre>
  
  <p>Now, by pressing "action_reset" It must draw that TextView from beginning.</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main, menu);
      return true;
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      int id = item.getItemId();
      if (id == R.id.action_reset) {
          return true;
      }
      return super.onOptionsItemSelected(item);
    }
  }
  </code></pre>
  
  <p>I know the needed code goes after <em>"if (id == R.id.action_reset)"</em> but I've tried several ways which I've found through internet, but none of them worked.</p>
  
  <p><a href="https://i.stack.imgur.com/HFB3y.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HFB3y.gif" alt="enter image description here"></a></p>
  
  <p><strong>Note:</strong>
  Please go <a href="https://github.com/tyrantgit/ExplosionField" rel="nofollow noreferrer">https://github.com/tyrantgit/ExplosionField</a> and consider the example. I need to know how redraw again by pressing a button.</p>