小编use*_*914的帖子

Property Utils是否有Android兼容的替代品?

org.apache.commons.beanutils.PropertyUtils在Android上有一个方便的花花公子吗?

我似乎无法使用Bean utils在我的Android应用程序,由于对一些依赖PropertyDescriptor,和IndexedPropertyDescriptor.所以我想知道是否有其他选择?

基本上我想做的就是使用一个方法名称作为字符串"someMethod"并将其输入setMethod(anObject, "someMethod", value),就像PropertyUtils它一样; 但不必诉诸于反思的恶作剧......

或者我的双手并列,我需要使用反射?

android apache-commons-beanutils

8
推荐指数
2
解决办法
4043
查看次数

标签 统计

android ×1

apache-commons-beanutils ×1