private void createAccount ( ) { // TODO Validate form data and send off request String name = nameView . getText ( ) . toString ( ) ; ( ( MainActivity ) getActivity ( ) ) . setComplete ( name ) ; }
Handles user clicking create button calls on activity to handle swapping fragments