Rename UserId to UserHandle.
Change-Id: I701335483628d30c875d087f27287e084789f10c
This commit is contained in:
@@ -150,7 +150,11 @@ public class FragmentLayout extends Activity {
|
||||
// Execute a transaction, replacing any existing fragment
|
||||
// with this one inside the frame.
|
||||
FragmentTransaction ft = getFragmentManager().beginTransaction();
|
||||
ft.replace(R.id.details, details);
|
||||
if (index == 0) {
|
||||
ft.replace(R.id.details, details);
|
||||
} else {
|
||||
ft.replace(R.id.a_item, details);
|
||||
}
|
||||
ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE);
|
||||
ft.commit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user