/// <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); } }
public static void OpenChannelTab(Channel channel) { MainActivity.instance.SupportFragmentManager.BeginTransaction().Replace(Resource.Id.contentView, ChannelDetails.NewInstance(channel)).AddToBackStack("Channel Details").Commit(); }