protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.CardViewLayout);

            InitComponents();

            _layoutManager = new LinearLayoutManager(this);
            _recyclerView.SetLayoutManager(_layoutManager);

            _album = new PhotoAlbum();
            _albumAdapter = new PhotoAlbumAdapter(_album);
            _albumAdapter.ItemClick += albumAdapter_ItemClick;
            _recyclerView.SetAdapter(_albumAdapter);
        }
 public PhotoAlbumAdapter(PhotoAlbum photoAlbum)
 {
     _photoAlbum = photoAlbum;
 }
Esempio n. 3
0
 public PhotoAlbumAdapter(PhotoAlbum photoAlbum)
 {
     _photoAlbum = photoAlbum;
 }