コード例 #1
0
        public void FlexibleViewLayoutManagerRemoveAndRecycleViewAt()
        {
            tlog.Debug(tag, $"FlexibleViewLayoutManagerRemoveAndRecycleViewAt START");

            var testingTarget = GetVerticalFlexibleView();

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <FlexibleView>(testingTarget, "should be an instance of testing target class!");

            try
            {
                verticalLayoutManager.RemoveAndRecycleViewAt(0, testingTarget.GetRecycler());
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            testingTarget.Dispose();
            tlog.Debug(tag, $"FlexibleViewLayoutManagerRemoveAndRecycleViewAt END (OK)");
        }