示例#1
0
        /// <summary>
        /// Update View that displays the data at the specified index in the favorite list when focus change.
        /// </summary>
        /// <param name="index">The index of the favorite list.</param>
        /// <param name="view">A View that displays the data at the specified index in the favorite list.</param>
        /// <param name="flagFocused">True means the item state change to focus, false means the item state change to unfocus.</param>
        public override void FocusChange(int index, View view, bool flagFocused)
        {
            Tizen.Log.Fatal("NUI.ChannelList", "FocusChange. index:" + index);

            object           data     = GetData(index);
            FavoriteListData itemData = data as FavoriteListData;

            SelectListItem itemView = view as SelectListItem;

            if (itemView != null)
            {
                itemView.Focus(flagFocused);
            }
        }