Skip to content

Commit

Permalink
-pulizia del codice
Browse files Browse the repository at this point in the history
  • Loading branch information
ciopper90 committed Apr 15, 2014
1 parent 99d77bf commit b84eaf0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/it/gaiacri/mobile/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ private class DrawerItemClickListener implements ListView.OnItemClickListener {

@Override
public void onItemClick(AdapterView<?> parent, View view, int position,
long id) {
// Highlight the selected item, update the title, and close the drawer
// update selected item and title, then close the drawer
long id) {
Fragment test=null;
mDrawerList.setItemChecked(position, true);
Bundle b=new Bundle();
Expand Down Expand Up @@ -245,7 +243,7 @@ public void onItemClick(AdapterView<?> parent, View view, int position,
//Giudizi
if(((TextView)view.findViewById(R.id.menurow_title)).getText().toString().equals(getString(R.string.ns_menu_feedback_giudizi))){
Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(
"mailto","giudizi.android@gaia.cri.it", null));
"mailto","feedback@gaia.cri.it", null));
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Giudizi Gaia Android");
startActivity(Intent.createChooser(emailIntent, "Send email..."));
}
Expand Down

0 comments on commit b84eaf0

Please sign in to comment.