@@ -163,7 +163,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
163163 case R .id .option6 :
164164 unsubscribe ();
165165 return true ;
166-
166+
167167 case R .id .option7 :
168168 presenceUnsubscribe ();
169169 return true ;
@@ -203,116 +203,116 @@ public boolean onOptionsItemSelected(MenuItem item) {
203203 case R .id .option16 :
204204 setWindowInterval ();
205205 return true ;
206-
206+
207207 case R .id .option17 :
208208 setOrigin ();
209209 return true ;
210-
210+
211211 case R .id .option18 :
212212 setDomain ();
213213 return true ;
214-
214+
215215 case R .id .option19 :
216216 toggleCacheBusting ();
217217 return true ;
218-
218+
219219 case R .id .option20 :
220220 setHeartbeat ();
221221 return true ;
222-
222+
223223 case R .id .option21 :
224224 setHeartbeatInterval ();
225225 return true ;
226-
226+
227227 case R .id .option22 :
228228 setUUID ();
229229 return true ;
230-
230+
231231 case R .id .option23 :
232232 setState ();
233233 return true ;
234234
235235 case R .id .option24 :
236236 setAuthKey ();
237237 return true ;
238-
238+
239239 case R .id .option25 :
240240 getInitData ();
241241 return true ;
242-
242+
243243 case R .id .option26 :
244244 setSenderId ();
245245 return true ;
246-
246+
247247 case R .id .option27 :
248248 gcmRegister ();
249249 return true ;
250-
250+
251251 case R .id .option28 :
252252 gcmUnregister ();
253253 return true ;
254-
254+
255255 case R .id .option29 :
256256 gcmAddChannel ();
257257 return true ;
258-
258+
259259 case R .id .option30 :
260260 gcmRemoveChannel ();
261261 return true ;
262-
262+
263263 case R .id .option31 :
264264 gcmRemoveAllChannels ();
265265 return true ;
266-
266+
267267 case R .id .option32 :
268- subscribeToGroup ();
268+ subscribeToGroup ();
269269 return true ;
270-
270+
271271 case R .id .option33 :
272- unsubscribeFromGroup ();
273- return true ;
274-
272+ unsubscribeFromGroup ();
273+ return true ;
274+
275275 case R .id .option34 :
276- channelGroupHereNow ();
276+ channelGroupHereNow ();
277277 return true ;
278-
278+
279279 case R .id .option35 :
280- channelGroupSetState ();
280+ channelGroupSetState ();
281281 return true ;
282-
282+
283283 case R .id .option36 :
284- channelGroupAddChannel ();
285- return true ;
286-
284+ channelGroupAddChannel ();
285+ return true ;
286+
287287 case R .id .option37 :
288- channelGroupRemoveChannel ();
288+ channelGroupRemoveChannel ();
289289 return true ;
290-
290+
291291 case R .id .option38 :
292- channelGroupListChannel ();
292+ channelGroupListChannel ();
293293 return true ;
294-
294+
295295 case R .id .option39 :
296- channelGroupListGroups ();
296+ channelGroupListGroups ();
297297 return true ;
298-
298+
299299 case R .id .option40 :
300- channelGroupRemoveGroup ();
300+ channelGroupRemoveGroup ();
301301 return true ;
302-
302+
303303 case R .id .option41 :
304- channelGroupListNamespaces ();
304+ channelGroupListNamespaces ();
305305 return true ;
306-
306+
307307 case R .id .option42 :
308- channelGroupRemoveNamespace ();
308+ channelGroupRemoveNamespace ();
309309 return true ;
310310 default :
311311 return super .onOptionsItemSelected (item );
312312 }
313313 }
314314
315- private void setAuthKey () {
315+ private void setAuthKey () {
316316 AlertDialog .Builder builder = new AlertDialog .Builder (this );
317317 builder .setTitle ("Set Auth Key" );
318318 builder .setMessage ("Enter Auth Key" );
@@ -964,7 +964,7 @@ public void errorCallback(String channel,
964964 alert .show ();
965965
966966 }
967-
967+
968968 private void subscribe () {
969969 AlertDialog .Builder builder = new AlertDialog .Builder (this );
970970 builder .setTitle ("Subscribe" );
@@ -1234,7 +1234,7 @@ public void errorCallback(String channel,
12341234 String channel = etChannel .getText ().toString ();
12351235
12361236
1237- pubnub .channelGroupRemoveChannel (groupName , channel , cb );
1237+ pubnub .channelGroupRemoveChannel (groupName , channel , cb );
12381238 }
12391239
12401240 });
@@ -1261,7 +1261,7 @@ public void onClick(DialogInterface dialog, int which) {
12611261 AlertDialog alert = builder .create ();
12621262 alert .show ();
12631263 }
1264-
1264+
12651265 private void channelGroupListChannel () {
12661266 AlertDialog .Builder builder = new AlertDialog .Builder (this );
12671267 builder .setTitle ("List channels in group" );
@@ -1298,7 +1298,7 @@ public void errorCallback(String channel,
12981298 AlertDialog alert = builder .create ();
12991299 alert .show ();
13001300 }
1301-
1301+
13021302 private void _channelGroupAddChannel (final String groupName ) {
13031303 AlertDialog .Builder builder = new AlertDialog .Builder (this );
13041304 builder .setTitle ("Add channel to Group" );
@@ -1327,7 +1327,7 @@ public void errorCallback(String channel,
13271327 String channel = etChannel .getText ().toString ();
13281328
13291329
1330- pubnub .channelGroupAddChannel (groupName , channel , cb );
1330+ pubnub .channelGroupAddChannel (groupName , channel , cb );
13311331 }
13321332
13331333 });
@@ -1353,7 +1353,7 @@ public void onClick(DialogInterface dialog, int which) {
13531353 AlertDialog alert = builder .create ();
13541354 alert .show ();
13551355 }
1356-
1356+
13571357
13581358 private void channelGroupRemoveNamespace () {
13591359 AlertDialog .Builder builder = new AlertDialog .Builder (this );
@@ -1391,9 +1391,9 @@ public void errorCallback(String channel,
13911391 });
13921392 AlertDialog alert = builder .create ();
13931393 alert .show ();
1394- }
1394+ }
13951395
1396- private void channelGroupListNamespaces () {
1396+ private void channelGroupListNamespaces () {
13971397 AlertDialog .Builder builder = new AlertDialog .Builder (this );
13981398 builder .setTitle ("List namespaces " );
13991399
@@ -1422,9 +1422,9 @@ public void errorCallback(String channel,
14221422 });
14231423 AlertDialog alert = builder .create ();
14241424 alert .show ();
1425- }
1425+ }
14261426
1427- private void channelGroupRemoveGroup () {
1427+ private void channelGroupRemoveGroup () {
14281428 AlertDialog .Builder builder = new AlertDialog .Builder (this );
14291429 builder .setTitle ("Remove Group " );
14301430 builder .setMessage ("Enter group name" );
@@ -1452,15 +1452,15 @@ public void errorCallback(String channel,
14521452 String groupName = etGroupName .getText ().toString ();
14531453
14541454
1455- pubnub .channelGroupRemoveGroup (groupName , cb );
1455+ pubnub .channelGroupRemoveGroup (groupName , cb );
14561456 }
14571457
14581458 });
14591459 AlertDialog alert = builder .create ();
14601460 alert .show ();
1461- }
1461+ }
14621462
1463- private void channelGroupListGroups () {
1463+ private void channelGroupListGroups () {
14641464 AlertDialog .Builder builder = new AlertDialog .Builder (this );
14651465 builder .setTitle ("List groups" );
14661466 builder .setMessage ("Enter namespace (leave blank for none)" );
@@ -1498,8 +1498,8 @@ public void errorCallback(String channel,
14981498
14991499 AlertDialog alert = builder .create ();
15001500 alert .show ();
1501- }
1502-
1501+ }
1502+
15031503 private void setState () {
15041504 AlertDialog .Builder builder = new AlertDialog .Builder (this );
15051505 builder .setTitle ("Set State " );
@@ -1518,7 +1518,7 @@ public void onClick(DialogInterface dialog, int which) {
15181518 AlertDialog alert = builder .create ();
15191519 alert .show ();
15201520 }
1521-
1521+
15221522 private void channelGroupSetState () {
15231523 AlertDialog .Builder builder = new AlertDialog .Builder (this );
15241524 builder .setTitle ("Set State " );
@@ -1646,7 +1646,7 @@ public void errorCallback(String channel,
16461646 AlertDialog alert = builder .create ();
16471647 alert .show ();
16481648 }
1649-
1649+
16501650 private void channelGroupHereNow () {
16511651
16521652 AlertDialog .Builder builder = new AlertDialog .Builder (this );
@@ -1698,7 +1698,7 @@ public void onClick(DialogInterface dialog, int which) {
16981698 AlertDialog alert = builder .create ();
16991699 alert .show ();
17001700 }
1701-
1701+
17021702 private void unsubscribeFromGroup () {
17031703
17041704 AlertDialog .Builder builder = new AlertDialog .Builder (this );
0 commit comments