コード例 #1
0
ファイル: ChannelManager.cs プロジェクト: pictos/Opus
        /// <summary>
        /// Open the channel details tab for a channel and add the current view to the background.
        /// </summary>
        /// <param name="channelID"></param>
        public async static void OpenChannelTab(string channelID)
        {
            Channel channel = await GetChannel(channelID);

            if (channel != null)
            {
                OpenChannelTab(channel);
            }
        }
コード例 #2
0
ファイル: ChannelManager.cs プロジェクト: pictos/Opus
 public static void OpenChannelTab(Channel channel)
 {
     MainActivity.instance.SupportFragmentManager.BeginTransaction().Replace(Resource.Id.contentView, ChannelDetails.NewInstance(channel)).AddToBackStack("Channel Details").Commit();
 }