I don't see any need to use databinding or view models for what you want to do. Just refer the drawable directly in xml file. If it is null, ...
確定! 回上一頁