use of in.myinnos.alphabetsindexfastscrollrecycler.IndexFastScrollRecyclerView in project SeniorProject by 5731075221-PM.
the class ShowHospitalByOrder method onCreateView.
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_show_by_order, container, false);
// searchView = (SearchView) view.findViewById(R.id.searchHospitalByOrder);
// searchView.setIconifiedByDefault(false);
// searchView.setIconified(false);
// searchView.clearFocus();
// searchView.setQueryHint("ค้นหา");
// searchView.setOnQueryTextListener(this);
recyclerView = (IndexFastScrollRecyclerView) view.findViewById(R.id.searchHospitalList);
recyclerView.setAdapter(adapter);
recyclerView.addItemDecoration(new DividerItemDecoration(getActivity(), DividerItemDecoration.VERTICAL));
recyclerView.setIndexBarColor("#f9f9f9");
recyclerView.setIndexBarTextColor("#4d4d4d");
recyclerView.setIndexBarHighLateTextVisibility(true);
recyclerView.setIndexbarHighLateTextColor("#4cd29f");
return view;
}
use of in.myinnos.alphabetsindexfastscrollrecycler.IndexFastScrollRecyclerView in project SeniorProject by 5731075221-PM.
the class DiseaseListFragment method onCreateView.
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_disease_list, container, false);
appBarLayout.setExpanded(true, true);
recyclerView = (IndexFastScrollRecyclerView) view.findViewById(R.id.diseaseList);
recyclerView.setAdapter(adapter);
recyclerView.addItemDecoration(new DividerItemDecoration(getActivity(), DividerItemDecoration.VERTICAL));
recyclerView.setIndexBarColor("#f9f9f9");
recyclerView.setIndexBarTextColor("#4d4d4d");
recyclerView.setIndexBarHighLateTextVisibility(true);
recyclerView.setIndexbarHighLateTextColor("#4cd29f");
return view;
}
Aggregations