I'm developing an app in android studio and I want to display a list of links on the website https://www.limerick.ie/council/weekly-planning-lists. However at the moment the webview displays the entire page.
Here is my code so far
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
WebView view = (WebView) this.findViewById(R.id.webView);
view.getSettings().setJavaScriptEnabled(true);
view.setWebViewClient(new MyBrowser());
view.loadUrl("https://www.limerick.ie/council/weekly-planning-lists");
}
This is all I want to display https://i.stack.imgur.com/G7cTJ.jpg
I have tried the solution given at Display a part of the webpage on the webview android but this does not seem to work for me as I am unaware of what html is supposed to be typed and where it is meant to typed in. I also get an error with the word "none".
The html that I want to show is:
<div class="block-inner clearfix">