コード例 #1
0
 public void UpdateItemData(CrossCardAgent agent)
 {
     // 此时数据传递
     _cardAgent = agent;
 }
コード例 #2
0
        protected CrossCardAgent _cardAgent;  // 关联的 card agent;

        public void SetUpCardAgent(CrossCardAgent cardAgent)
        {
            _cardAgent = cardAgent;
        }
コード例 #3
0
        public void OnPlayVideo(CrossCardCellData cellData)
        {
            CrossCardAgent agent = _cardAgent as CrossCardAgent;

            agent.DoVideo(cellData.VideoUrl, cellData.Description, cellData.Image);
        }