asmpro
(asmpro)
July 14, 2020, 3:10pm
#1
how to do refresh layout like google chrome
when I swip down in my app I can’t go up beacuse refresh .
it refresh Immediately
Xoma
(Kumaraswamy)
July 14, 2020, 4:40pm
#3
Use swipe refresh layout to reload
asmpro
(asmpro)
July 14, 2020, 4:41pm
#4
When I pull down and go back up, it refresh
asmpro
(asmpro)
July 14, 2020, 5:21pm
#6
When I pull down and go back up, it refresh
themaayur
(Mayur Berad)
July 15, 2020, 5:12am
#7
Use custom webview by @vknow360 and if scroll y is smaller 5 then enabled the swipe refresh else disable it. I also faced the issue and I found this solution
1.Introduction
Extension Name: CustomWebView
It is an extended version of web viewer with more customization and flexibility.Its customization and additional features make it different from Web Viewer although it uses same Web View class.
Latest Version: 8
Released: 2020-05-12T18:30:00Z (UTC)
Last Updated: 2020-07-23T18:30:00Z (UTC)
Requires: Android 5+
2.Features
More customization options than normal web viewer
Long Click event
New window request event
Close window request event
Load lo…
2 Likes
asmpro
(asmpro)
July 15, 2020, 10:59am
#9
can you show that blocks to do that please
asmpro
(asmpro)
July 15, 2020, 11:20am
#10
how can I add that web view to my app ( I know how to add extention I ask for add url in it ) can you show block to do that ,please.
themaayur
(Mayur Berad)
July 15, 2020, 11:27am
#11
Use this method to create webview and then use this to set url.
Create WebView
Creates a webview in given arrangement but it will not show anything as it is not active.
[image]
Set WebView
Makes given webview (id) to active webview and enabled to receive all method calls.Also hides other webviews so that only one webview will be visible to user.
[image]
Note:- 1.WebView created using CreateWebView method will use default properties (See documentation).
2.CreateWebView method will only create webview and not set created webview as active one.
3.SetWeb…
asmpro
(asmpro)
July 15, 2020, 11:32am
#12
are you say I create a normal web view and add this method
and how I add refresh
themaayur
(Mayur Berad)
July 15, 2020, 11:35am
#13
No, Just take a arrangement and this extension and do the above method.
asmpro:
how I add refresh
asmpro
(asmpro)
July 15, 2020, 1:25pm
#15
I do that but it didn’t work
Xoma
(Kumaraswamy)
July 15, 2020, 1:52pm
#16
FIrst create webview and then set webview!
asmpro
(asmpro)
July 15, 2020, 1:57pm
#17
can you make blocks for it
it didn’t take 3 minutes
asmpro
(asmpro)
July 15, 2020, 2:39pm
#18
I do that it work
now how can I do refresh
themaayur
(Mayur Berad)
July 15, 2020, 2:46pm
#19
I will post blocks tommorow.
1 Like
asmpro
(asmpro)
July 15, 2020, 2:47pm
#20
I want to add url in it and want to do refresh like google chrome
thank you very very very much.
do it I will add you
1 Like