public static Android.Support.V4.App.Fragment newInstance(string titulo, string subtitulo, string fecha, string portada, string contenido) { NewsFragmentDetail NewsFragments = new NewsFragmentDetail{ Arguments = new Bundle () }; NewsFragments.Arguments.PutString ("txtTituloDetalle", titulo); NewsFragments.Arguments.PutString ("txtSubtituloDetalle", subtitulo); NewsFragments.Arguments.PutString ("txtFechaContenidoDetalle", fecha); NewsFragments.Arguments.PutString ("img_portadaDetalle", portada); NewsFragments.Arguments.PutString ("txtContenidoDetalle", contenido); return NewsFragments; }
public static Android.Support.V4.App.Fragment newInstance(string titulo, string subtitulo, string fecha, string portada, string contenido) { NewsFragmentDetail NewsFragments = new NewsFragmentDetail { Arguments = new Bundle() }; NewsFragments.Arguments.PutString("txtTituloDetalle", titulo); NewsFragments.Arguments.PutString("txtSubtituloDetalle", subtitulo); NewsFragments.Arguments.PutString("txtFechaContenidoDetalle", fecha); NewsFragments.Arguments.PutString("img_portadaDetalle", portada); NewsFragments.Arguments.PutString("txtContenidoDetalle", contenido); return(NewsFragments); }