Read More

Taking Advantages of WebView.. DIRTY PASS

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.

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close