Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.89 KB | None | 0 0
  1. if (ExistMac == false && ConnectOrAdd==0) {//se l'indirizzo mac non è in memoria e ho premuto "+" lo aggiungo
  2.                             CheckForSmartlockInDB(NewMac);
  3.                         }else if (ConnectOrAdd==1){
  4.                            /* AdapterListMac= new LockListAdapter(LockActivity.this, AllLockList, active, SharedLimit);
  5.                             LockList.setAdapter(AdapterListMac);*/
  6.                             PrepareListData();
  7.                             listAdapter = new ExpandableListAdapter(getApplicationContext(), SectionHead, listDataChild,active,wichlist,LockActivity.this);
  8.                             LockList.setAdapter(listAdapter);
  9.                             OpenListGroup();
  10.                         }else if(ExistMac==true && ConnectOrAdd==0){
  11.                             showAlert("To connect to a Smartlock press the \")))\" icon");
  12.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement