Hi,

Can you please tell me how can I dynamic add stuff to a Gallery?

I try
aGallary.addView(myView);

I get this exception:

02-19 22:32:52.271: WARN/System.err(165):
java.lang.UnsupportedOperationException: addView(View) is not
supported in AdapterView
02-19 22:32:52.281: WARN/System.err(165):     at
android.widget.AdapterView.addView(AdapterView.java:434)
02-19 22:32:52.281: WARN/System.err(165):     at
com.mycompany.widget.MyGallery.addView(MyGallery.java:31)
02-19 22:32:52.291: WARN/System.err(165):     at

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to