I have a method sendData() in my fragment. This method starts a new Activity. I want to call this method from my ArrayAdapter.
sendData()
ArrayAdapter
Here is my c
You can make sendData method as static
public static void sendData(int position) { ...... }
n call it as
@Override public void onClick(View v) { // TODO Auto-generated method stub HomeFragment.sendData(position) ........ }