Search in sources :

Example 1 with PinsAdapter

use of com.gracecode.android.presentation.adapter.PinsAdapter in project Presentation by feelinglucky.

the class PinsFragment method onCreateView.

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.pins, null);
    mPinsGridView = (GridView) view.findViewById(R.id.pins);
    mPinsAdapter = new PinsAdapter(getActivity(), mPinsAdapterListener);
    mSwipeLayout = (SwipeRefreshLayout) view.findViewById(R.id.swipe_container);
    return view;
}
Also used : PinsAdapter(com.gracecode.android.presentation.adapter.PinsAdapter) GridView(android.widget.GridView) View(android.view.View)

Aggregations

View (android.view.View)1 GridView (android.widget.GridView)1 PinsAdapter (com.gracecode.android.presentation.adapter.PinsAdapter)1