Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. InstaAuthAPI.getDefaultSession(this,new InstagramSessionHandler() {
  2. @Override
  3. public void onProfileDataReceived(Profile profile) {
  4. Picasso.get().load(profile.getPrfilePicture()).into(profileImage);
  5. txtBio.setText(profile.getBio());
  6. txtFullname.setText(profile.getFullName());
  7. txtUsername.setText(profile.getUsername());
  8. txtWeb.setText(profile.getWebsite());
  9. }
  10.  
  11. @Override
  12. public void onErrorOccurred(String error) {
  13. Toast.makeText(getApplicationContext(),error,Toast.LENGTH_LONG).show();
  14. }
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement