Read More
Read now

Taking Advantages of WebView.. DIRTY PASS

Save

If you are a fan of NFS you must be well aware of DIRTY PASS. Nowadays, android development is faster than earlier. Our applications have been moved to data binding and MVVM approaches which are relatively faster and efficient plus enhance development process. We are using different third party library (like Retrofit, Glide as we don’t want to reinvent the wheel ) which in turn make the Android development a clean architecture.

SO WHAT IS DIRTY PASS?

The are many pages in the E-commerce application apart from regular CMS pages which can be shown in the application using WebView. The advantage of using WebView allows you to show the HTML content of pages in the application without any effort and will give the same native design effect. Not only the view/design part, there are a number of pages or content that previously take days to complete are now finished in a couple of hours.

So how to take advantage of Webview to show the content.

RECIPE

You can create the HTML data along with the link to your stylesheets and other stuff. Add some HTML content and load it in the Web view.

Following script will load html content along with CSS (Yes, you heard me right along with CSS)

 

SAMPLE TO KEEP YOU MOTIVATED:

That’s all for lazy programming.

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home