Android : How to use an ImageVIew to show the image of logged in user

on Tuesday, July 29, 2014


Am a newbie in android so I have a small problem in the code. I am using the sliding menu from the given link


tutorial


Now from this code Instead of Home button Image which is defined in strings.xml, I have to set an imageview button to show the image according with we service. I have done it for a class



ImageView author = (ImageView)rowView.findViewById(R.id.author_image);
author.setImageBitmap(loadImageFromURL(mSharedData.getProfilePicture()));


Now this author image i have to use instead of icon.


0 comments:

Post a Comment