Difference between setting layoutparams direct or in addView
<p>I was wondering if there is a difference between</p>

<pre><code>LinearLayout.LayoutParams separatorParams = new LinearLayout.LayoutParams(
                    LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);

TextView separator = new TextView(context);
separator.setLayoutParams(seperatorParams);

this.addView(separator);
</code></pre>

<p>Or</p>

<pre><code>LinearLayout.LayoutParams separatorParams = new LinearLayout.LayoutParams(
                        LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);

TextView separator = new TextView(context);

this.addView(separator,separatorParams);
</code></pre>
