android - SetAdapter method for HorizontalScrollView -


i working android.in android,i created 1 horizontalscrollview , horizontalscrollview created simple adapter when using set adapter method horizontalscrollview getting error the method setadapter(simpleadapter) undefined type horizontalscrollview.so can tell me method should use @ place of setadapter.

simpleadapter videoadapter = new simpleadapter(                 searchdata.this, videodatalist,                 r.layout.video_list, new string[]                         {                            tag_title                          }, new int[] {                          r.id.textview1 });         videodatalist.setadapter(videoadapter); 

here videodatalist object of horizontalscrollview


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -