コード例 #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);
        }
コード例 #2
0
 public RegExDataAdapter(RegExList bcl)
 {
     mBarcodeScannerList = bcl;
 }