fragments switch statement

fragments switch statement