GridView.LayoutParams does not exist, Android code breaks -
i'm following along helloworld tutorials android when gridview exercise (http://developer.android.com/resources/tutorials/views/hello-gridview.html)
i found if comment out line: imageview.setlayoutparams(new gridview.layoutparams(85, 85));
then works. did research , found gridview.layoutparams not exist. doing wrong? tutorial broken?
i did research , found gridview.layoutparams not exist.
where did research? gridview.layoutparams
exist. layoutparams
class inherited viewgroup
class, super class of gridview
.
edit:
just took , seems that, said, layoutparams
not accessible gridview
. use abslistview.layoutparams
instead.
Comments
Post a Comment