Created
February 10, 2016 09:36
-
-
Save Krishan14sharma/9c7bdf62ac5c3733c1b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.jiocartseller.jio.ui.filter; | |
| import android.content.Context; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import java.util.ArrayList; | |
| import butterknife.ButterKnife; | |
| /** | |
| * Created by krishan on 10/2/16. | |
| */ | |
| public class FilterByAdapter extends RecyclerView.Adapter<FilterByAdapter.MyViewHolder> { | |
| // todo refractor type and listname | |
| ArrayList<String> mylist; | |
| Context context; | |
| public FilterByAdapter(Context context, ArrayList<String> mylist) { | |
| this.mylist = mylist; | |
| this.context = context; | |
| } | |
| @Override | |
| public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { | |
| return null; | |
| } | |
| @Override | |
| public void onBindViewHolder(MyViewHolder holder, int position) { | |
| } | |
| @Override | |
| public int getItemCount() { | |
| return 0; | |
| } | |
| // todo refractor adapter name | |
| public class MyViewHolder extends RecyclerView.ViewHolder { | |
| public MyViewHolder(View v) { | |
| super(v); | |
| ButterKnife.bind(this, v); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment