问题
Can you use assertions in android programming? If so how do you enable it in eclipse?
回答1:
Since the question was if it is possible... Yes it is possible but I go along with CommonsWare that asserions should be avoided.
Anyway see Can I use assert on Android devices? for how to use Assertions on Android
来源:https://stackoverflow.com/questions/9603326/assertions-android-programming