sPFApp/src/main/java/it/polimi/spf/app/fragments/groupinfo/ClientsRecyclerViewAdapter.java
@Override
    public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) {
        // Create a new view.
        View v = LayoutInflater.from(viewGroup.getContext())
                .inflate(R.layout.device_card_view, viewGroup, false);
        return new ViewHolder(v);
    }
@Override
    public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) {
        // Create a new view.
        View v = LayoutInflater.from(viewGroup.getContext())
                .inflate(R.layout.device_card_view, viewGroup, false);
        return new ViewHolder(v);
    }
@ Override public ViewHolder onCreateViewHolder ( ViewGroup viewGroup , int viewType ) { // Create a new view. View v = LayoutInflater . from ( viewGroup . getContext ( ) ) . inflate ( R . layout . device_card_view , viewGroup , false ) ; return new ViewHolder ( v ) ; }
Create new views (invoked by the layout manager)
Create new views ( invoked by the layout manager )