Beispiel #1
0
        private void initBandInfo()
        {
            bandName = this.Intent.GetStringExtra("name");

            band = MusicoConnUtil.GetBandByNameAsync(bandName);

            bandNameTV = FindViewById <TextView> (Resource.Id.BandName);

            avgPriceTV = FindViewById <TextView> (Resource.Id.AvgPrice);

            genreTV = FindViewById <TextView> (Resource.Id.Genre);

            locationTV = FindViewById <TextView> (Resource.Id.Location);

            requerimentsTV = FindViewById <TextView> (Resource.Id.Requeriments);

            eventsTV = FindViewById <TextView> (Resource.Id.Events);

            ratingRB = FindViewById <RatingBar> (Resource.Id.Rating);


            facebookIBTN = FindViewById <ImageButton> (Resource.Id.FbImageBtn);

            youtubeIBTN = FindViewById <ImageButton> (Resource.Id.YoImageBtn);

            bandNameTV.Text     = band.Name;
            avgPriceTV.Text     = "$" + band.AvgPrice;
            genreTV.Text        = band.Genre;
            locationTV.Text     = band.Location;
            requerimentsTV.Text = band.Requirements;

            facebookIBTN.Click += FacebookIBTN_Click;
            youtubeIBTN.Click  += YoutubeIBTN_Click;
        }
Beispiel #2
0
        private void initBandInfo()
        {
            bandName = this.Intent.GetStringExtra("name");

            band = MusicoConnUtil.GetBandByNameAsync(bandName);

            bandNameTV = FindViewById <TextView> (Resource.Id.BandName);

            avgPriceTV = FindViewById <TextView> (Resource.Id.AvgPrice);

            genreTV = FindViewById <TextView> (Resource.Id.Genre);

            bandNameTV.Text = band.Name;
            avgPriceTV.Text = "$" + band.AvgPrice;
            genreTV.Text    = band.Genre;
        }
Beispiel #3
0
        private void initBandInfo()
        {
            band = MusicoConnUtil.GetBandByNameAsync(bandName);

            bandNameTV = FindViewById <TextView> (Resource.Id.BandName);

            avgPriceTV = FindViewById <TextView> (Resource.Id.AvgPrice);

            genreTV = FindViewById <TextView> (Resource.Id.Genre);

            locationTV = FindViewById <TextView> (Resource.Id.Location);

            ratingRB = FindViewById <RatingBar> (Resource.Id.Rating);

            bandNameTV.Text = band.Name;
            avgPriceTV.Text = "$" + band.AvgPrice;
            genreTV.Text    = band.Genre;
            locationTV.Text = band.Location;
            ratingRB.Rating = band.AvgRate;
        }