{"id":13639269,"url":"https://github.com/AhmadNemati/ClickableWebView","last_synced_at":"2025-04-19T22:32:06.027Z","repository":{"id":202013715,"uuid":"71698414","full_name":"AhmadNemati/ClickableWebView","owner":"AhmadNemati","description":"Simple WebView to Detect click on an image","archived":false,"fork":false,"pushed_at":"2017-03-31T12:29:00.000Z","size":9447,"stargazers_count":41,"open_issues_count":3,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-03T01:14:14.639Z","etag":null,"topics":["android","android-library","click","library","webview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AhmadNemati.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-10-23T11:24:59.000Z","updated_at":"2024-07-10T11:06:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f4698c5-7342-4be1-8761-1dc6f457d045","html_url":"https://github.com/AhmadNemati/ClickableWebView","commit_stats":null,"previous_names":["ahmadnemati/clickablewebview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FClickableWebView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FClickableWebView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FClickableWebView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FClickableWebView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmadNemati","download_url":"https://codeload.github.com/AhmadNemati/ClickableWebView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810337,"owners_count":17206742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","click","library","webview"],"created_at":"2024-08-02T01:00:59.167Z","updated_at":"2024-11-09T09:30:47.291Z","avatar_url":"https://github.com/AhmadNemati.png","language":"Java","funding_links":[],"categories":["WebView"],"sub_categories":[],"readme":"[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=true)](http://www.apache.org/licenses/LICENSE-2.0)\n![minSdkVersion 9](https://img.shields.io/badge/minSdkVersion-9-red.svg?style=true)\n![compileSdkVersion 24](https://img.shields.io/badge/compileSdkVersion-24-yellow.svg?style=true)\n# ClickableWebView\nSimple WebView to Detect click on an image\n\n# Demo\n![alt tag](https://raw.githubusercontent.com/AhmadNemati/ClickableWebView/test/art/webview.gif)\n# Setup\n# Step 1 :Add it as a dependency in your app's build.gradle file\n\n```gradle\ncompile 'com.ahmadnemati.clickablewebview:clickablewebview:1.1.2'    //jcenter()\n```\n# Step 2 :Add it to your layout\n```xml\n  \u003ccom.ahmadnemati.clickablewebview.ClickableWebView\n      android:layout_width=\"match_parent\"\n      android:layout_height=\"match_parent\"\n      android:id=\"@+id/clickable_webview\"/\u003e\n```\n# Step 3 :Initialize WebView and setOnWebViewClickListener Method\n```java\n        ClickableWebView clickableWebView;\n        clickableWebView= (ClickableWebView) findViewById(R.id.clickable_webview);\n        clickableWebView.setOnWebViewClickListener(new OnWebViewClicked() {\n            @Override\n            public void onClick(String url) {\n                //just use url\n            }\n        });\n```\n# Developed By\n\n* Ahmad Nemati \n * [ahmadnemati.com](http://ahmadnemati.com) - \u003cnematiprog@gmail.com\u003e\n\n\n# License\n\n    Copyright 2016 Ahmad Nemati\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAhmadNemati%2FClickableWebView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAhmadNemati%2FClickableWebView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAhmadNemati%2FClickableWebView/lists"}