public static ProfileFragment createViewSelfProfileFragment ( ) { Bundle b = new Bundle ( ) ; b . putInt ( EXTRA_VIEW_MODE , Mode . SELF . ordinal ( ) ) ; ProfileFragment fragment = new ProfileFragment ( ) ; fragment . setArguments ( b ) ; return fragment ; }
Creates a new instance of ProfileFragment to show the local profile .