Example #1
0
        public async void ShowTweets()
        {
            TweetList.Clear();
            Debug.WriteLine("-- Retweets allowed? {0}", AllowRetweet);
            TweetList = await DependencyService.Get <ITweetService>().GetTweetsFromLocation(lat, lng, radius, allowRetweet, maxTweets, showRecent);

            foreach (var tweet in tweetList)
            {
                Debug.WriteLine(
                    "User: {0}, Tweet: {1}, Place: {2}, Coordinates: Lat: {3}, Lng: {4} ",
                    tweet.User,
                    tweet.Text,
                    tweet.Place,
                    tweet.Lat,
                    tweet.Lng
                    );
            }
        }
Example #2
0
 private void BtnTweetTemizle_Click(object sender, EventArgs e)
 {
     TweetList.Clear();
 }