[android-developers] Re: Reflection of class members
1) You should never need reflect for your own classes, just add getter
and setter methods
2) If you need reflect for the APIs to enable a feature a non-critical
feature on newer devices see
http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html
On Jul 23, 9:37 am, NightGospel <wutie...@gmail.com> wrote:
> Hello all,
>
> If I have a class like below:
>
> class A{
> private ArrayList<B> mList;
>
> }
>
> How do I to invoke the methods of mList member? Such as add, remove,
> clear and so forth.
> Thanks in advance.
>
> NightGospel
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home