Skip to content

Commit 5cce8fa

Browse files
authored
Update z2ui5_cl_demo_app_321.clas.abap (#476)
1 parent 884ba02 commit 5cce8fa

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/z2ui5_cl_demo_app_321.clas.abap

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CLASS z2ui5_cl_demo_app_321 DEFINITION
44

55
PUBLIC SECTION.
66
INTERFACES z2ui5_if_app.
7-
87
DATA mv_quantity TYPE string.
98

109
PROTECTED SECTION.
@@ -32,27 +31,18 @@ CLASS z2ui5_cl_demo_app_321 IMPLEMENTATION.
3231
)->button(
3332
text = 'post with state'
3433
press = client->_event( val = 'BUTTON_POST' )
35-
)->button(
36-
text = 'post'
37-
press = client->_event( val = 'BUTTON_POST2' )
3834
)->stringify( ) ).
3935
ENDIF.
4036

41-
CASE client->get( )-event.
42-
37+
CASE client->get( )-event.´
4338
WHEN `BUTTON_POST`.
4439
client->message_toast_display( `data updated` ).
4540
"this is where the magic happens...
4641
client->set_app_state_active( ).
47-
WHEN `BUTTON_POST2`.
48-
client->message_toast_display( `data updated` ).
49-
"this is where the magic happens...
50-
* client->set_app_state_active( ).
5142
WHEN `BACK`.
5243
client->nav_app_leave( ).
5344
ENDCASE.
54-
ENDMETHOD.
55-
5645

46+
ENDMETHOD.
5747

5848
ENDCLASS.

0 commit comments

Comments
 (0)