Hi this is my listview onClicklister.
when i click the list item , I pass the the arraylist which is getting from bean class one activity to another activity like
I think it is possible. You have to send the Object of your class like this,
intent.putExtra("RouteBean", bean);
And retrieve it like this in your next activity,
getIntent().getSerializableExtra("RouteBean");
But your class has to implement Serializable
Interface.
Or you can use Parcelable Interface,
Here is a Example,
https://stackoverflow.com/a/6923794/603744
For the first method, your class should be like this,
public class RouteBean implements Serializable
{
}
And for the next one,
public class RouteBean implements Parcelable
{
}