Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to handle refresh in sapui5

$
0
0

Hi Experts,

 

My application has two views, master view and detail view.

I got a problem in 'PullToRefresh'.

 

Case:

1. When the application starts, it will read the json file and display in master view.

2. When a item in master view is pressed, it will show the details in detail view correctly.

3. In SAP, creates one more record so that when reading the json file, it will have one more record too.

4. Pull to refresh in  the application and it will read the json file again.

5. After refresh, the master view is updated with the new model/new record.

6. But the new model does not update in detail view.

 

May I ask for some hints for updating model in both view?

 

Best Regards,

King


Viewing all articles
Browse latest Browse all 6178

Trending Articles