[Example] Add exit when naviframe is empty
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 4 Jun 2020 05:46:19 +0000 (14:46 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 5 Jun 2020 04:14:29 +0000 (13:14 +0900)
commite7d5672b896ab197640bbea4efe344f53a0f8616
treec65953f0864d06b3d4ecd69c5ff1bf826151cf46
parent0a5981b0787f81544dd25601635c90bafc94c318
[Example] Add exit when naviframe is empty

**Changes proposed in this PR:**
- Add and use _on_back_pressed_cb when back button is pressed
- Change `view_routes_to` signiture to return naviframe item.
- Delete unused functions

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
Applications/Tizen_native/CustomShortcut/.cproject
Applications/Tizen_native/CustomShortcut/.gitignore
Applications/Tizen_native/CustomShortcut/inc/data.h
Applications/Tizen_native/CustomShortcut/inc/view.h
Applications/Tizen_native/CustomShortcut/src/main.c
Applications/Tizen_native/CustomShortcut/src/view.c