How to bind data in pagingScroller
<p>I have have a pageScroller with three pages. I want to set each page with different view.
How do I do this? I would like sample code if it is possible.</p>

<p>This is my code:</p>

<pre><code>public class WetherActivity extends Activity{

    Pager scroller;
    PageIndicator indicator;

    private static final int NUM_PAGES = 3;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.wether_tab);
        scroller=(Pager)findViewById(R.id.scrollView);
        indicator=(PageIndicator)findViewById(R.id.indicator);
        indicator.setPager(scroller);

        LayoutInflater layoutInflator =
            (LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

        for (int i = 0; i &lt; NUM_PAGES; i++) {
            View pageView = layoutInflator.inflate(R.layout.page,null);
            ((TextView) pageView.findViewById(R.id.pageText)).setText(
                "Page " + (i+1));
            pageView.setBackgroundColor(Color.rgb(206, 235, 255));

            scroller.addPage(pageView);
        }    
    }
}
</code></pre>
