2016-10-20 8 views

答えて

0

をあなたはBuild.Gradle(アプリケーションレベル)のファイルあなたに新しいdepedencieを追加する必要があります。

compile 'com.github.bumptech.glide:glide:3.7.0' 

ImageViewを作成するより。

ImageView iw = find..... 

Glide.with(this).load(*).centerCrop().override(512, 512).into(iw); 

* Can you replace with the current User (z.B : mFirebaseUser.getPhotoUrl().toString()) 

ザッツすべて: あなたは今FirebaseUsers PhotoURLとImageViewののSRCを設定することができます。

0
document.getElementById('imgId').src= firebase.auth().currentUser.photoURL; 
関連する問題