Search in sources :

Example 1 with UltimateRecyclerviewViewHolder

use of com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder in project UltimateAndroid by cymcsg.

the class SimpleAdapter method onCreateViewHolder.

@Override
public UltimateRecyclerviewViewHolder onCreateViewHolder(ViewGroup parent) {
    View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.recycler_view_adapter, parent, false);
    ViewHolder vh = new ViewHolder(v);
    return vh;
}
Also used : UltimateRecyclerviewViewHolder(com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder) ImageView(android.widget.ImageView) RecyclerView(android.support.v7.widget.RecyclerView) TextView(android.widget.TextView) View(android.view.View)

Example 2 with UltimateRecyclerviewViewHolder

use of com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder in project UltimateRecyclerView by cymcsg.

the class SimpleAdapter method onCreateViewHolder.

@Override
public UltimateRecyclerviewViewHolder onCreateViewHolder(ViewGroup parent) {
    View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.recycler_view_adapter, parent, false);
    ViewHolder vh = new ViewHolder(v);
    return vh;
}
Also used : UltimateRecyclerviewViewHolder(com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder) ItemTouchHelperViewHolder(com.marshalchen.ultimaterecyclerview.itemTouchHelper.ItemTouchHelperViewHolder) ImageView(android.widget.ImageView) RecyclerView(android.support.v7.widget.RecyclerView) TextView(android.widget.TextView) View(android.view.View)

Example 3 with UltimateRecyclerviewViewHolder

use of com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder in project UltimateRecyclerView by cymcsg.

the class MultiViewTypesRecyclerViewAdapter method onCreateViewHolder.

@Override
public UltimateRecyclerviewViewHolder onCreateViewHolder(ViewGroup parent) {
    View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.rv_item_linear, parent, false);
    ViewHolder vh = new ViewHolder(v);
    return vh;
}
Also used : UltimateRecyclerviewViewHolder(com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder) RecyclerView(android.support.v7.widget.RecyclerView) View(android.view.View) ListView(android.widget.ListView)

Aggregations

RecyclerView (android.support.v7.widget.RecyclerView)3 View (android.view.View)3 UltimateRecyclerviewViewHolder (com.marshalchen.ultimaterecyclerview.UltimateRecyclerviewViewHolder)3 ImageView (android.widget.ImageView)2 TextView (android.widget.TextView)2 ListView (android.widget.ListView)1 ItemTouchHelperViewHolder (com.marshalchen.ultimaterecyclerview.itemTouchHelper.ItemTouchHelperViewHolder)1