Error resolving getLayoutInflater 
<p>While am compiling the program with the below code, an error is occurring. it says getLayoutInflater ( ) is undefined. Could anyone please help me to resolve it asap.</p>

<pre><code> final LayoutInflater inflater = getLayoutInflater ( ); 
</code></pre>

<p>Thanks in advance.</p>
