Androidでリソースに関するintでないとコンパイルエラーさせる方法
#Android
#保証
@BooleanRes
,
@ColorStateListRes
...などなどある。
https://gyazo.com/24ba48d5cd53aff49e3eed85c48914d6
全部:
https://github.com/androidannotations/androidannotations/wiki/Resources
もと:p117
https://www.slideshare.net/fumihikoshiroyama/ss-47472394
(感想:
int
型を使ってるせいで、型システムの力で間違い検出できなさそうで好きでなかったが、これで安全になりそう)