N
N
Nikolai2020-06-04 04:15:21
Java
Nikolai, 2020-06-04 04:15:21

Why is the webview application running so slowly?

Greetings. Created a simple android studio application that displays my website. The start page is made sewn, i.e. All site files are located locally. In principle, everything works, but terribly slowly. For example, if you click on a link from the main one, then the main one hangs and costs 20-30 seconds, and then it just starts loading what is on the link. I've tried everything, I don't know what to do. Then I thought that I need to remove something or change some parts of the code in some places in order to somehow speed up the work. Here is the source of MainActivity.java

PS Yes, the code is so-so. Do not judge strictly, I'm a beginner.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question