i have implemented main menu listview under content with listview.the problem is when i click emulator back button it will came main menu. i need to implement back to(navifram) content list view.
where can i implement that code
code:-
samples_cb(void *data, Evas_Object *obj, void *event_info)
{
Evas_Object *vbox, *label;
Evas_Object *nf = data;
vbox = elm_box_add(nf);
elm_object_content_set(nf, vbox);
/* Icon*/
Evas_Object *ic = elm_icon_add(vbox);
elm_image_file_set(ic, "/opt/usr/apps/org.tizen.sample/res/images", NULL);
elm_box_pack_end(vbox, ic);
evas_object_show(ic);
/* Label*/
label = elm_label_add(vbox);
elm_object_text_set(label, "<align=left> <b> content</b>");
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_pack_end(vbox,label);
evas_object_show(label);
evas_object_show(vbox);
}
void
sample_cb(void *data, Evas_Object *obj, void *event_info)
{
Evas_Object *list;
Evas_Object *nf = data;
/* List */
list = elm_list_add(nf);
elm_list_mode_set(list, ELM_LIST_COMPRESS);
elm_list_item_append(list, "Image ", NULL, NULL,samples_cb, nf);
elm_naviframe_item_push(nf, "Temple", NULL, NULL, list, NULL);
elm_list_go(list);
}