Genearating Widgets at run time
<p>I have an application in which the user gives an input n , and accordingly , I have to generate n buttons ,set their ids , on click - listeners and do operations. </p>

<p>How can i achieve this? </p>

<p>Putting a large number of buttons in the xml file, and making them visible using view.visibility is not a viable option</p>
