阅读背景:

Android DataBinding在哪里获取上下文?

来源:互联网 

I have TextView for showing time. I want to use Android's DataBinding plugin. For formatting time I am using DateUtils.formatDateTime(context, int, int) method which takes Context instance. Is it possible to get context include element? Or do I have to use old school way?I have TextView for showing time. I want to use




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: