I get the impression that Android supports reflection. But does it really? How sensible would it be to rely on reflection heavily? What’s the penalty?
I get the impression that Android supports reflection. But does it really? How sensible
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Android supports reflection.
Once you’ve got a prototype running, you can benchmark and determine your bottlenecks.
If its reflection, then consider trying to cache interfaces and such to make it a one-off cost, rather than continually resolving the same interfaces from the same instances repeatedly.