This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get a list of non-repeatable random numbers | |
List<int> GenerateRandomList(Random random, int size) | |
{ | |
int num, i = 0; | |
List<int> list = new List<int>(); | |
do{ | |
num = random.Next(0, size) + 1; | |
if (!list.Contains(num)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="Mensaje">Mensaje</string> | |
<string name="ApplicationName">XamarinWhatsapp</string> | |
<string name="Enviar">Enviar mensaje</string> | |
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView android:text="@string/Mensaje" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" /> | |
<EditText android:id="@+id/edtMensaje" | |
android:layout_width="fill_parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.App; | |
using Android.Widget; | |
using Android.OS; | |
using Android.Content; | |
using Android.Content.PM; | |
namespace XamarinWhatsapp | |
{ | |
[Activity(Label = "XamarinWhatsapp", MainLauncher = true, Icon = "@drawable/icon")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
namespace SentimentalTweets | |
{ | |
public partial class App : Application | |
{ | |
public App () | |
{ | |
InitializeComponent(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using LinqToTwitter; | |
using SentimentalTweets.Modelos; | |
using SentimentalTweets.Helpers; | |
namespace SentimentalTweets.Servicios | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using SentimentalTweets.Servicios; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="SentimentalTweets.Paginas.PaginaTweets"> | |
<ContentPage.Content> | |
<StackLayout BackgroundColor="White" Padding="10"> | |
<Label Text="Tweets" TextColor="Blue" FontSize="Large"/> | |
<Entry x:Name="txtBusqueda" TextColor="White" Placeholder="Introduce el término de búsqueda" | |
PlaceholderColor="LightGray" BackgroundColor="Black" FontSize="Medium"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SentimentalTweets.Modelos; | |
using SentimentalTweets.Servicios; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:labelTextColor="clr-namespace:SentimentalTweets.Helpers;assembly=SentimentalTweets" | |
x:Class="SentimentalTweets.Paginas.PaginaAnalisisTweet"> | |
<ContentPage.Resources> | |
<ResourceDictionary> | |
<labelTextColor:StringToColorConverter x:Key="StringToColorConverter"/> | |
</ResourceDictionary> |
OlderNewer