Android User Interface Design: Implementing Material Design for Developers (Usability) by Clifton Ian G

Android User Interface Design: Implementing Material Design for Developers (Usability) by Clifton Ian G

Author:Clifton, Ian G. [Clifton, Ian G.]
Language: eng
Format: azw3
Publisher: Pearson Education
Published: 2015-11-21T05:00:00+00:00


@Override

public View getView(int position, View convertView, ViewGroup parent) {

final CaptionedImageView captionedImageView;

if (convertView == null) {

captionedImageView = new CaptionedImageView(mContext);

} else {

captionedImageView = (CaptionedImageView) convertView;

}

final ToolType toolType = mToolTypes[position];

captionedImageView.setImageResource(toolType.getToolImageResourceId());

captionedImageView.getTextView().setText(toolType.getToolNameResourceId());

return captionedImageView;

}

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.