skip to Main Content

How can I disable the ListView item on long click – SEO

public class MainActivity extends ActionBarActivity { ListView listview; String[] subjects = new String[] {"Android","PHP","Blogger","WordPress","SEO"}; List<String> subject_list; ArrayAdapter<String> arrayadapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); listview = (ListView)findViewById(R.id.listView1); subject_list = new ArrayList<String>(Arrays.asList(subjects)); arrayadapter = new ArrayAdapter<String>(MainActivity.this, android.R.layout.simple_list_item_1, subject_list); listview.setAdapter(arrayadapter);…

VIEW QUESTION
Back To Top
Search