CustomWebView : An extended form of Web Viewer

Those blocks are very complicated. i Dont understand. I just need simple blocks to

  1. User clicks Syllabus - opens Syllabus URL.
  2. User presses Back - Clear History - returns to Home layout.
  3. User clicks Notifications - opens Notifications URL.

First of all, think about it, every time you press back, you clear the history.
You should clear it in two cases:

  • either when opening another link (CardView.Click)
  • or as soon as you change screen. (Screen.BackPressed)

To make everything simpler, I’d suggest clearing the history as soon as you click on the CardView Notification

Can I help you understand them better, or do you want to keep it light for now?


i did like this. still same issue. previous link again loading in next button click for few fraction of seconds
.

The problem just shifts somewhere else, because what you’re seeing is simply the CWV still having the previous page loaded and to fix this in the simplest way, I’d suggest doing a blank Go To URL before loading the next page.

It’s important to point out that this is NOT the optimal way to handle it!

A very good way to learn App Inventor or Kodular…

I remember have a similar unrelated issue like this a few years ago. My solution was to use a second webview. CustomWebviewer is well organised for this with its id system.

I’m using the CustomWebView extension in my Kodular education app to load Blogger pages.

Problem: The Blogger page loads correctly the first time. When I click a link inside the Blogger page, it opens the next page normally.
However, when I press the Back button to return to the previous page, a large white blank area appears below the page (see attached screenshot).
The page content is displayed correctly, but there is a huge white space below it.
The same Blogger pages work perfectly in Chrome and other browsers.

I’ve attached:

  1. Screenshot of the issue
  2. Screenshots of my Kodular blocks
  3. .aia project file for reference


    STUDYPOINT_TEST.aia (554.8 KB)

Any help or suggestions would be greatly appreciated. Thank you!

Hi dear,

I think that white space is actually present on the website itself, take a look at what I see from desktop.

1 Like

Hi Rayzzz, I checked this link in Chrome Desktop, Mobile & Edge browser also, works fine. But it shows white screen only in Custom web viewer.

If the site were formatted correctly, I should see it properly too, but even when trying with other browsers, that white space is still there.
Check the HTML carefully, this extension works really well, so it would be very unusual if this issue were with it.

I don’t see any white space due to CustomWebView.

The issue is in your website. Check this.

Please click 1st link, then scroll down and press back, white screen will come

Ok sir. Will check.

Later part of the video (soul browser)

Issue is due to scroll behaviour.

Ohh. Okay. Will change the blogger theme and try.

Sir, I have checked Many other blogger sites, same problem. And also some times it doesn’t show white spaces. I found that everytime after deleting app cache, it doesn’t show white space.