TasksWear/src/main/java/com/dummies/tasks/WearableTaskListAdapter.java
@SuppressLint("InflateParams")
    @Override
    public WearableListView.ViewHolder onCreateViewHolder(
        ViewGroup viewGroup, int i) {

        // Return a new ViewHolder (see below for class ViewHolder).
        // Each view in our list will use the item_task.xml layout.
        return new ViewHolder(
            inflater.inflate(R.layout.item_task, null));
    }
/**
     * Create a ViewHolder that will hold a reference to the views that
     * we will need to update for each new item in the list.
     */
Create a ViewHolder that will hold a reference to the views that
we will need to update for each new item in the list.
Create a ViewHolder that will hold a reference to the views that we will need to update for each new item in the list .
@SuppressLint("InflateParams")
    @Override
    public WearableListView.ViewHolder onCreateViewHolder(
        ViewGroup viewGroup, int i) {
        return new ViewHolder(
            inflater.inflate(R.layout.item_task, null));
    }
@ SuppressLint ( "InflateParams" ) @ Override public WearableListView . ViewHolder onCreateViewHolder ( ViewGroup viewGroup , int i ) { return new ViewHolder ( inflater . inflate ( R . layout . item_task , null ) ) ; }
Create a ViewHolder that will hold a reference to the views that
 we will need to update for each new item in the list.
Create a ViewHolder that will hold a reference to the views that we will need to update for each new item in the list .
// Return a new ViewHolder (see below for class ViewHolder). // Each view in our list will use the item_task.xml layout.