private FlexibleView _initList;
private ListBridge _adapter;
private TableView _detailList;
+ private ScrollableBase _scrollableBase;
private View _buttonContainer;
private View _buttonContainer2;
private TableView _firstPageContainer;
void InitializeDetailPage()
{
+ _scrollableBase = new ScrollableBase
+ {
+ Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.6629f),
+ ScrollingDirection = ScrollableBase.Direction.Vertical,
+ };
_detailList = new TableView(23, 1);
_detailList.Focusable = true;
- _detailList.Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.4629f);
+ _detailList.Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.9f);
_detailList.ParentOrigin = Position.ParentOriginTopLeft;
_detailList.PivotPoint = PivotPoint.TopLeft;
_detailList.Position = new Position(0.0f, 0.0f, 0.0f);
CreateDetailList();
- _detailView.Add(_detailList);
+ _scrollableBase.Add(_detailList);
+ _detailView.Add(_scrollableBase);
//To Place the function button, such as PASS, FAIL.....
_buttonContainer = new View();
//PostConditions
void CreateTestCase()
{
- if(_detailList)
+ if (_detailList != null && _scrollableBase != null)
{
- _detailView.Remove(_detailList);
+ _detailView.Remove(_scrollableBase);
+ _scrollableBase.Remove(_detailList);
_detailList.Dispose();
+ _detailList = null;
+ _scrollableBase.Dispose();
+ _scrollableBase = null;
}
Tizen.Log.Fatal("NUI", "Print the CurrentTCNum here::" + _currentTCNum);
+ _scrollableBase = new ScrollableBase
+ {
+ Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.6629f),
+ ScrollingDirection = ScrollableBase.Direction.Vertical,
+ };
_detailList = new TableView(10, 1);
_detailList.Focusable = true;
- _detailList.Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.3703f);
+ _detailList.Size = new Size(Window.Instance.Size.Width * 0.9739f, Window.Instance.Size.Height * 0.9f);
_detailList.ParentOrigin = Position.ParentOriginTopLeft;
_detailList.PivotPoint = PivotPoint.TopLeft;
_detailList.Position = new Position(0.0f, 0.0f, 0.0f);
CreateDetailList();
- _detailView.Add(_detailList);
+ _scrollableBase.Add(_detailList);
+ _detailView.Add(_scrollableBase);
if (_notRun)
{
_notRun.Text = _listItem[_currentTCNum].Result;