Code example for ProfilePictureView

Methods: invalidatesetVisibility

2
		 
		if(user.getPicturePath() == null || user.getPicturePath().equals("")){
			pv_fb_profile.setProfileId(user.getFacebookId());
			loader.setVisibility(ProgressBar.INVISIBLE);
		}else{ 
			pv_fb_profile.setVisibility(ProfilePictureView.INVISIBLE);
			DownloadImagemUtil downloader = new DownloadImagemUtil(context);
			downloader.download(context, user.getPicturePath(), iv_profile, loader);
		} 
		pv_fb_profile.invalidate();
		loader.invalidate();
		iv_profile.invalidate();
	} 
	 
} 
Connect your IDE to all the code out there  Get Codota for Java