예제 #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;
        }
예제 #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;
        }
예제 #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;
        }