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
themaayur
(Mayur Berad)
July 17, 2020, 11:18am
#22
So Welcome, Everyone today in this simple guide I will show how to make swipe refreshable webview using @vknow360 'sCustom Webview Extension
So Let’s Begin
• Components
1. Swipe Refresh Layout
[image]
Disable it in properties.
2. VA or HA
As a Container for Custom Webview.
3. Custom Webview Extension.
• Blocks
1. First you need to create webview using these blocks
[image]
If you want to create Multiple ( Unlimited ) Tabs Dynamically use this Guide
2. And the Main Part is here.
[image]
By…
Here is solution to your topic
2 Likes
asmpro
(asmpro)
July 17, 2020, 11:21am
#23
thank yo very very very much.
asmpro
(asmpro)
July 17, 2020, 11:23am
#24
when there are file to download it automatic downloaded or not
The above blocks are correct or not
system
(system)
Closed
August 29, 2020, 3:13pm
#26
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.