{"action":"created","issue":{"url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/194","repository_url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK","labels_url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/194/comments","events_url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/194/events","html_url":"https://github.com/AppLozic/Applozic-Android-SDK/issues/194","id":175491269,"number":194,"title":"issue while adding the user in  multiple Group","user":{"login":"amitg767","id":17022756,"avatar_url":"https://avatars.githubusercontent.com/u/17022756?v=3","gravatar_id":"","url":"https://api.github.com/users/amitg767","html_url":"https://github.com/amitg767","followers_url":"https://api.github.com/users/amitg767/followers","following_url":"https://api.github.com/users/amitg767/following{/other_user}","gists_url":"https://api.github.com/users/amitg767/gists{/gist_id}","starred_url":"https://api.github.com/users/amitg767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitg767/subscriptions","organizations_url":"https://api.github.com/users/amitg767/orgs","repos_url":"https://api.github.com/users/amitg767/repos","events_url":"https://api.github.com/users/amitg767/events{/privacy}","received_events_url":"https://api.github.com/users/amitg767/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-07T12:35:10Z","updated_at":"2016-09-08T06:45:57Z","closed_at":"2016-09-08T06:45:57Z","body":"hi.. \r\ni want to add the user in Multiple Group in same time..\r\nin place of channelKey it is not accepting the multiple Group id\r\n\r\nApplozicChannelAddMemberTask.ChannelAddMemberListener channelAddMemberListener = new ApplozicChannelAddMemberTask.ChannelAddMemberListener() {\r\n@Override\r\npublic void onSuccess(String response, Context context) {\r\n//Response will be \"success\" if user is added successfully\r\nLog.i(\"ApplozicChannelMember\",\"Add Response:\" + response);\r\n\r\n        }\r\n\r\n        @Override\r\n        public void onFailure(String response, Exception e, Context context) {\r\n\r\n        }\r\n    };\r\n\r\n    ApplozicChannelAddMemberTask applozicChannelAddMemberTask =  new ApplozicChannelAddMemberTask(context,**channelKey**,userId,channelAddMemberListener);//pass channel key and userId whom you want to add to channel\r\n    applozicChannelAddMemberTask.execute((Void)null);"},"comment":{"url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/comments/245508544","html_url":"https://github.com/AppLozic/Applozic-Android-SDK/issues/194#issuecomment-245508544","issue_url":"https://api.github.com/repos/AppLozic/Applozic-Android-SDK/issues/194","id":245508544,"user":{"login":"devashishmamgain","id":159686,"avatar_url":"https://avatars.githubusercontent.com/u/159686?v=3","gravatar_id":"","url":"https://api.github.com/users/devashishmamgain","html_url":"https://github.com/devashishmamgain","followers_url":"https://api.github.com/users/devashishmamgain/followers","following_url":"https://api.github.com/users/devashishmamgain/following{/other_user}","gists_url":"https://api.github.com/users/devashishmamgain/gists{/gist_id}","starred_url":"https://api.github.com/users/devashishmamgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devashishmamgain/subscriptions","organizations_url":"https://api.github.com/users/devashishmamgain/orgs","repos_url":"https://api.github.com/users/devashishmamgain/repos","events_url":"https://api.github.com/users/devashishmamgain/events{/privacy}","received_events_url":"https://api.github.com/users/devashishmamgain/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T06:45:56Z","updated_at":"2016-09-08T06:45:56Z","body":"@amitg767 its a network call and you are running the network call in main thread.\r\nplease read about how to make network call in android, here is stackoverflow link to help you:\r\nhttp://stackoverflow.com/questions/6343166/how-to-fix-android-os-networkonmainthreadexception"}}
{"actor":{"display_login":"devashishmamgain"}}