Esempio n. 1
0
        private void PopulateRecycleView()
        {
            mRecyclerView = FindViewById <RecyclerView>(Resource.Id.recyclerView);

            // Plug in the linear layout manager:
            mLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.Vertical, false);
            mRecyclerView.SetLayoutManager(mLayoutManager);


            // Plug in my adapter:
            regExList = new RegExList();
            mAdapter  = new RegExDataAdapter(regExList);
            mRecyclerView.SetAdapter(mAdapter);
        }
Esempio n. 2
0
 public RegExDataAdapter(RegExList bcl)
 {
     mBarcodeScannerList = bcl;
 }