> > Anybody know somthing? > Yep, I know lots of somethings... I also know that "addView(View, LayoutParams) is not supported in AdapterView." You are going to have to give us more information if you want help.
You should never be calling addView on an AdapterView.... My guess (and it can only be a guess because of the wonderful amount of info you gave) is that you should be using the getView method in your adapter to add the view you want to your gridview. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jul 2, 2012 at 3:57 PM, TreKing <[email protected]> wrote: > On Tue, Jun 26, 2012 at 6:25 PM, Alexander Lisenkov < > [email protected]> wrote: > >> Hi! A have a problem. I need to inflate view (AppWidgetHostView) into my >> gridview by adapter. I have error "addView(View, LayoutParams) is not >> supported in AdapterView" when i try to add view > > > You should provide a *small* snippet of code that illustrates your issue. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

