Esempio n. 1
0
 private void initData() {
   Intent intent = getIntent();
   Bundle b = intent.getBundleExtra("bundle");
   bookInfo = b.getParcelable("bookinfo");
   loginUser = StatusService.getInstance().getUser();
   if (loginUser.getUsername().equals(bookInfo.getOwner())) {
     isOwner = true;
   } else {
     isOwner = false;
   }
   mContext = this;
 }