How to load class at runtime in android app?
<p>In my android project I've two layouts in that first layout having one button if i click that button I need to display the second layout in the same layout for this I created a view by using <code>LayoutInflater</code> and attached it to "Table Layout" which is present in first layout.</p>

<p>Everything should be fine but the corresponding class file for the second layout is not loading. Without loading I'm not able to call events like click and some other loader events so any one help me how can I load the corresponding class file when i click button in first layout?</p>
