Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public View getView(int position, View convertView, ViewGroup parent)
- {
- // Check if the existing view is being reused, otherwise inflate the view
- View listItemView = convertView;
- if(listItemView == null) {
- listItemView = LayoutInflater.from(getContext()).inflate(
- R.layout.list_item, **parent**, **false**);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement