2016-10-20 4 views

답변

0

당신은 당신에게 Build.Gradle (응용 프로그램 레벨) 파일 새로운 depedencie을 추가해야합니다

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

을 ImageView 만들기보다. 이제 FirebaseUsers PhotoURL와 이미지 뷰의 SRC 설정할 수 있습니다

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()) 

그게 전부.

0
document.getElementById('imgId').src= firebase.auth().currentUser.photoURL;