An electronic device according to various embodiments of the present disclosure may comprise: a
wireless communication module including
wireless communication circuitry; a first housing; a second housing coupled to the first housing to be able to slide; a
flexible display comprising a first display area visible when the second housing is in a slide-in state with regard to the first housing, and a second display area visible when the second housing is in a slide-out state with regard to the first housing; a memory; and at least one processor, comprising
processing circuitry, operatively connected to the
wireless communication module, the
flexible display, and the memory. At least one processor, individually and / or collectively, may be configured to control the electronic device to: display a first application in the first display area based on the second housing being in a slide-in state with regard to the first housing, display, at a first location in the first display area, a notification received from an external electronic device using the wireless communication module, generate a state change icon at a second location in the first display area based on reception of the notification, switch the second housing from the slide-in state to the slide-out state based on the state change icon being touched, and display a second application corresponding to the notification in the second display area.