मैं डेटा छवि लोड के लिए कस्टम बाध्यकारी एडाप्टर के लिए दस्तावेज़ बाध्यकारी आधिकारिक Android डेवलपर साइट से पीछा किया:एंड्रॉयड DataBinding कस्टम बाइंडिंग एडाप्टर चेतावनी
@BindingAdapter({"bind:imageUrl"})
public static void loadImage(final ImageView imageView, String url) {
imageView.setImageResource(R.drawable.ic_launcher);
AppController.getUniversalImageLoaderInstance().displayImage(url, imageView);
}
:
Warning:Application namespace for attribute bind:imageUrl will be ignored.
मेरे कोड का पालन है
यह चेतावनी क्यों उत्पन्न होती है?
एक स्क्रीनशॉट भी जुड़ा हुआ है ...
आप एक ही नाम स्थान 'उपयोग कर रहे हैं" बाँध: "' अपने लेआउट में? – betorcs