Create Multiple (Unlimited) Webview/Tabs Dynamically | Guide

This is my Second Guide, Hope It will help you.

  • Create/Remove/Switch Webview

Follow the below steps to create/Tabs Webviews Dynamically

1. Components

image
image
image
image

2. Blocks

  • Variables

image

Id- For Assigning a Unique Id for Each webview

Url- Url’s for Webview. *You can add textbox to enter Desired Url

  • Procedure

image

This Procedure will be used to switch the visibility of Webviews.

  • Create Webview/Tabs

image

Webview will br created Dynamically. All the blocks should be in same order.

Create webview- Webview is created using a Unique Id.

Visibility (Procedure) - Currently created webview is set to visible.

Set webview - currently created webview is set as active so all the properties,events will be related to current webview.

  • Switch Webview/Tabs

image

A List Picker will visible with a list all available webview. Selected Webview will be visible.

  • Remove Webview/Tabs

A List Picker will visible with a list all available webview. Selected Webview will be removed.
If all the webview will be removed then all the values will be reset.

Video:

Download:

Apk:CreepyApricotLeopard.apk (5.2 MB)
Aia:CreepyApricotLeopard.aia (62.7 KB)

Refrences :

Custom Webview By @vknow360

Thanks :kodular: For a Great Platform.

By Using your own logic this can be customised to a better design. This is just a refrence to how to dynamically create webviews.

If you like this guide then support me by donating :upside_down_face:

18 Likes

Great Guide! Will surely help many users. :slightly_smiling_face: :+1:

2 Likes

Thanks…:blush::grin:

3 Likes

Nice guide. :pray:

2 Likes

Thanks, hope it helped you. :relaxed::relaxed:

1 Like

good job. :grinning:

1 Like

It will help me al lot.

2 Likes

Glad, It will help you :relaxed::relaxed:

2 Likes

how can i do it when search button is clicked?

I am not able to achive it.

I can’t understood what you mean ? Be more clear.

I meant when url is entered in a textbox and searched, how can i add a new tab?

Use this same method just remove the block and set the url there for creating a new tab on search.

I dont know what wrong i have did, can you pls check it for me. :sob:

1 Like

only main blocks are shown

Show the block where you are creating new tab on search.

here you are searching for the current url, why
image


here

First tell me whats the issue.
Tabs are not creating or you are getting any error

its blank.

Where have you set the URL? and if it is blank that means a new view is getting created but doesn’t have an URL to show.

2 Likes