Exemplo n.º 1
0
 private void edit(FriendDTO item) {
   Intent intent = new Intent(this, FriendEditActivity_.class);
   Bundle bun = new Bundle();
   bun.putInt("id", item.getId());
   intent.putExtras(bun);
   this.startActivity(intent);
 }
Exemplo n.º 2
0
 protected void delete(FriendDTO item) {
   loanDAO.deleteFriend(item.getId());
   friendDAO.delete(item.getId());
   onResume();
 }