Skip to content
Snippets Groups Projects
Commit e0e0a7f8 authored by venkat's avatar venkat
Browse files

Removing unwanted toasts

parent 1db60579
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ ListView listView=(ListView)findViewById(R.id.sample_list); ...@@ -68,7 +68,7 @@ ListView listView=(ListView)findViewById(R.id.sample_list);
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
String fl=null; String fl=null;
String S=parent.getItemAtPosition(position).toString(); String S=parent.getItemAtPosition(position).toString();
Toast.makeText(Sample.this, S, Toast.LENGTH_SHORT).show(); // Toast.makeText(Sample.this, S, Toast.LENGTH_SHORT).show();
try { try {
...@@ -89,7 +89,7 @@ ListView listView=(ListView)findViewById(R.id.sample_list); ...@@ -89,7 +89,7 @@ ListView listView=(ListView)findViewById(R.id.sample_list);
e.printStackTrace(); e.printStackTrace();
} }
fl=fl+".txt"; fl=fl+".txt";
Toast.makeText(Sample.this, fl, Toast.LENGTH_LONG).show(); // Toast.makeText(Sample.this, fl, Toast.LENGTH_LONG).show();
Intent i =new Intent(Sample.this,Disp_code.class); Intent i =new Intent(Sample.this,Disp_code.class);
i.putExtra("file",fl); i.putExtra("file",fl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment