The idea is i have a listview where each item is a product, when I click in the item, I need to go to another Fragment from the click which is inside the adapter of the list
You would need to pass it in your Constructor. For Example:
public class ProductOffersListAdapter extends BaseAdapter
{
private Context context;
private ArrayList navProOffers;
Fragment myFragment;
public ProductOffersListAdapter(Context context, ArrayList navProOffers, Fragment myFragment)
{
this.context = context;
this.myFragment = myFragment;
this.navProOffers = navProOffers;
}
...