I have a Category List & I want to implement History.Java in my project. which has same fields or parameters as a Category List . Now how to use same ListView
for history. I am taking a global boolean
Function . I think it will work. But I want to know any good technique for this. Please tell me? I want to call same Category.Java Class for history & Category List.
You can also pass 1 dimension array list in Intent
Bundle intentbundle = new Bundle();
intentbundle.putStringArrayList("arrList",arrList);
intent.putExtras(intentbundle);
startActivity(intent);
and get values by nex activity
Bundle extras = getIntent().getExtras();
mArrList = extras.getStringArrayList("arrList");