protected override List <FriendListModel> RunInBackground(params Java.Lang.Void[] @params)
 {
     FillContacts();
     FillContactsEmail();
     FillContactsPhoto();
     _friendList = RestSharpCall.GetList <FriendListModel>("Friend/GetEventRequestList?eventID=" + eventID);
     return(_friendList);
 }
Exemplo n.º 2
0
 protected override List <SP_UserListWithFriends_Result> RunInBackground(params Java.Lang.Void[] @params)
 {
     FillContacts();
     FillContactsEmail();
     FillContactsPhoto();
     friendList   = RestSharpCall.GetList <SP_UserListWithFriends_Result>("Friend/GetUserWithFriends");
     _contactList = _contactList.Select(c => { c.Id = 0; return(c); }).ToList();
     return(friendList);
 }
Exemplo n.º 3
0
 protected override List <EventFiles> RunInBackground(params Java.Lang.Void[] @params)
 {
     eventfile = RestSharpCall.GetList <EventFiles>("Event/GetEventFiles?eventid=" + eventID);
     eventfile.Add(
         new EventFiles
     {
         EventID  = eventID,
         FileName = "",
         ID       = 0,
         FileUrl  = ""
     }
         );
     return(eventfile);
 }
                protected override void OnPostExecute(JsonResult result)
                {
                    base.OnPostExecute(result);
                    txtComment.Text = "";
                    if (result.Success == true)
                    {
                        var eventfeed = RestSharpCall.GetList <EventFeedModel>("Event/GetAllEventFeedDetails?eventId=" + eventID);
                        var madapter  = new CommentsAdapter(eventfeed, activity);
                        lvComment.Post(() =>
                        {
                            lvComment.SetSelection(madapter.Count - 1);
                        });

                        lvComment.Adapter = madapter;
                        lvComment.Invalidate();
                    }
                }
Exemplo n.º 5
0
 protected override List <Audio> RunInBackground(params Java.Lang.Void[] @params)
 {
     audioList = RestSharpCall.GetList <Audio>("Event/GetAudios");
     return(audioList);
 }
 protected override List <WeClipPackageInfo> RunInBackground(params Java.Lang.Void[] @params)
 {
     packageInfo = RestSharpCall.GetList <WeClipPackageInfo>("Setting/GetWeClipPackages");
     return(packageInfo);
 }
 protected override List <GetRequestedFriend_Result> RunInBackground(params Java.Lang.Void[] @params)
 {
     friendRequest = RestSharpCall.GetList <GetRequestedFriend_Result>("Friend/GetAll");
     return(friendRequest);
 }
 protected override List <EventFeedModel> RunInBackground(params Java.Lang.Void[] @params)
 {
     eventfeed = RestSharpCall.GetList <EventFeedModel>("Event/GetAllEventFeedDetails?eventId=" + eventID);
     return(eventfeed);
 }
Exemplo n.º 9
0
 protected override List <CoHost> RunInBackground(params Java.Lang.Void[] @params)
 {
     coHostList = RestSharpCall.GetList <CoHost>("Friend/GetCoHostList?eventId=" + eventID);
     return(coHostList);
 }
 protected override List <EventSearchData> RunInBackground(params Java.Lang.Void[] @params)
 {
     eventData = RestSharpCall.GetList <EventSearchData>("Event/GetAllEventSearchDetails?query=empty_string");
     return(eventData);
 }
Exemplo n.º 11
0
 protected override List <EventFiles> RunInBackground(params Java.Lang.Void[] @params)
 {
     eventfile = RestSharpCall.GetList <EventFiles>("Event/GetEventFiles?eventid=" + eventID);
     return(eventfile);
 }
 protected override List <GetAllEventList> RunInBackground(params Java.Lang.Void[] @params)
 {
     listPublicEvent = RestSharpCall.GetList <GetAllEventList>("EventRequest/GetMyEventList?id=" + GlobalClass.UserID);
     return(listPublicEvent);
 }
Exemplo n.º 13
0
 protected override List <Theme> RunInBackground(params Java.Lang.Void[] @params)
 {
     themelist = RestSharpCall.GetList <Theme>("Event/GetWeClipThemes");
     return(themelist);
 }
 protected override List <SPGetSearchWeclipList_Result> RunInBackground(params Java.Lang.Void[] @params)
 {
     weClipdata = RestSharpCall.GetList <SPGetSearchWeclipList_Result>("Event/GetAllWeClip?query=" + query);
     return(weClipdata);
 }
Exemplo n.º 15
0
 protected override List <WeClipVideo> RunInBackground(params Java.Lang.Void[] @params)
 {
     weclipFile = RestSharpCall.GetList <WeClipVideo>("Event/GetWeClipVideo?eventid=" + eventId);
     return(weclipFile);
 }
 protected override List <SPGetUserFollowings_Result> RunInBackground(params Java.Lang.Object[] @params)
 {
     FolloweingList = RestSharpCall.GetList <SPGetUserFollowings_Result>("Friend/GetFolloweing?userId=" + userID);
     return(FolloweingList);
 }
Exemplo n.º 17
0
 protected override List <NotificationModel> RunInBackground(params Java.Lang.Void[] @params)
 {
     notification = RestSharpCall.GetList <NotificationModel>("Notification/GetNotification");
     return(notification);
 }
Exemplo n.º 18
0
 protected override List <GetAllEventList> RunInBackground(params Java.Lang.Void[] @params)
 {
     eventdata = RestSharpCall.GetList <GetAllEventList>("EventRequest/GetMyEventList?id=" + userID);
     return(eventdata);
 }