app/src/main/java/org/weibeld/nytexplore/adapter/ArticleAdapter.java
@Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        // The view for the item
        View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_article, parent, false);
        // Create a ViewHolder for this view and return it
        return new ViewHolder(itemView);
    }
// the item, but a ViewHolder, which holds references to all the elements of the view.
the item, but a ViewHolder, which holds references to all the elements of the view.
the item but a ViewHolder which holds references to all the elements of the view .
@Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_article, parent, false);
        return new ViewHolder(itemView);
    }
@ Override public ViewHolder onCreateViewHolder ( ViewGroup parent , int viewType ) { View itemView = LayoutInflater . from ( parent . getContext ( ) ) . inflate ( R . layout . item_article , parent , false ) ; return new ViewHolder ( itemView ) ; }
the item, but a ViewHolder, which holds references to all the elements of the view.
the item but a ViewHolder which holds references to all the elements of the view .
// The view for the item // Create a ViewHolder for this view and return it