Deepanker Chaudhary Deepanker Chaudhary - 1 year ago 67
Android Question

How to show same ListView for different values?

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

for history. I am taking a global
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.

Answer Source

You can also pass 1 dimension array list in Intent

Bundle intentbundle = new Bundle();



and get values by nex activity

Bundle extras = getIntent().getExtras();
mArrList = extras.getStringArrayList("arrList");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download