I have a ListView with several rows. Each row has a button.
ListView
button
I want the button to start a FragmentTransaction to replace the Fragment that
First get the context in your Constructor and then try following code,
FragmentTransaction ft = ((FragmentActivity)context).getSupportFragmentManager().beginTransaction();