Are there Android compatible alternatives to Property Utils?

前端 未结 2 1357
野趣味
野趣味 2020-12-17 22:07

Is there a handy-dandy equivalent to org.apache.commons.beanutils.PropertyUtils on Android?

I can\'t seem to use bean utils in my android a

2条回答
  •  天涯浪人
    2020-12-17 22:41

    There is a possibilty to use libraries or write own code depending on the PropertyUtils. But it sure isn't dandy. You can get the general idea about what has to be done in this thread.

    There are apparently some projects who have successfully solved the issue, so you can study thier solution. Take a look at Drawingpad-base and libgdx. You can find PropertyUtils in the package com.madrobot.beans in the first project and com.badlogic.gdx.beans in the second.

提交回复
热议问题