Gallery初始化显示到指定位置

<span style="color:#330099;font-size:16px;"><strong><span style="font-size:14px;"><strong><span style="font-size:14px;">    
    gallery.setAdapter(adapter);</span></strong></span></strong></span><p><span style="font-size:18px;color:#330099;"><strong><span style="font-size:16px; font-size:14px">   adapter.</span><span style="font-size:16px">notifyDataSetChanged();</span></strong><span style="font-size:16px">       </span></span><span style="color:#330099;font-size:16px;"><strong> </strong></span><pre name="code" class="java"><span style="color:#330099;font-size:16px;"><strong><span style="font-size:14px;"><strong><span style="font-size:14px;">    gallery</span></strong></span></strong></span><span style="color:#330099;font-size:16px;"><strong>.setSelection(2);

</strong></span>

 
 

你可能感兴趣的:(轮播)