Android Libs Blurry Not Working
<p>I use <a href="https://github.com/wasabeef/Blurry" rel="nofollow"> https://github.com/wasabeef/Blurry</a> library.  </p>

<p>in <code>Onclick</code>, the following code works.</p>

<pre><code>private boolean blurred = false;

if (blurred) {
      Blurry.delete((ViewGroup) findViewById(R.id.content));
    } else {
      long startMs = System.currentTimeMillis();
      Blurry.with(MainActivity.this)
          .radius(25)
          .sampling(2)
          .async()
          .animate(500)
          .onto((ViewGroup) findViewById(R.id.content));
    }
blurred = !blurred;
</code></pre>

<p>But when I add the following code in <code>OnCreate</code>, it doesn't work.</p>

<pre><code>Blurry.with(MainActivity.this)
      .radius(25)
      .sampling(2)
      .async()
      .animate(500)
      .onto((ViewGroup) findViewById(R.id.content));
</code></pre>