{"id":13673452,"url":"https://github.com/gdacciaro/iOSDialog","last_synced_at":"2025-04-28T09:30:37.263Z","repository":{"id":135400392,"uuid":"102530647","full_name":"gdacciaro/iOSDialog","owner":"gdacciaro","description":"iOS UIAlertView on Android.","archived":false,"fork":false,"pushed_at":"2019-09-27T09:59:39.000Z","size":175,"stargazers_count":83,"open_issues_count":1,"forks_count":26,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-11T12:42:23.555Z","etag":null,"topics":["android","android-dialog","android-dialog-view","android-library","iosdialog"],"latest_commit_sha":null,"homepage":"http://gdacciaro.com","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gdacciaro.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,"roadmap":null,"authors":null}},"created_at":"2017-09-05T21:16:53.000Z","updated_at":"2023-10-10T01:29:35.000Z","dependencies_parsed_at":"2024-01-17T04:41:12.567Z","dependency_job_id":"ee04198b-602a-4796-abc7-c57fb523ac65","html_url":"https://github.com/gdacciaro/iOSDialog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdacciaro%2FiOSDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdacciaro%2FiOSDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdacciaro%2FiOSDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdacciaro%2FiOSDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdacciaro","download_url":"https://codeload.github.com/gdacciaro/iOSDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251284867,"owners_count":21564684,"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-dialog","android-dialog-view","android-library","iosdialog"],"created_at":"2024-08-02T10:00:45.922Z","updated_at":"2025-04-28T09:30:36.005Z","avatar_url":"https://github.com/gdacciaro.png","language":"Java","readme":"# iOSDialog - iOS UIAlertView on Android\n\nWith this library you can use iOS UIAlertView on Android.\u003cbr\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"http://i.imgur.com/E2BYMfG.jpg\" width=250\u003e\u003cbr\u003eTwo Buttons\u003c/td\u003e\n\u003ctd\u003e\u003cimg src=\"http://i.imgur.com/L2QNRS4.jpg\" width=250\u003e\u003cbr\u003eOne Button\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr\u003e\nTo install the library just add this line to your gradle:\n\t\n\timplementation 'com.gdacciaro:iosdialog:1.0.3'\n\t\nAnd add this where you want:\n\n\t  new iOSDialogBuilder(MainActivity.this)\n\t\t.setTitle(getString(R.string.example_title))\n\t\t.setSubtitle(getString(R.string.example_subtitle))\n\t\t.setBoldPositiveLabel(true)\n\t\t.setCancelable(false)\n\t\t.setPositiveListener(getString(R.string.ok),new iOSDialogClickListener() {\n\t\t    @Override\n\t\t    public void onClick(iOSDialog dialog) {\n\t\t\tToast.makeText(MainActivity.this,\"Clicked!\",Toast.LENGTH_LONG).show();\n\t\t\tdialog.dismiss();\n\n\t\t    }\n\t\t})\n\t\t.setNegativeListener(getString(R.string.dismiss), new iOSDialogClickListener() {\n\t\t    @Override\n\t\t    public void onClick(iOSDialog dialog) {\n\t\t\tdialog.dismiss();\n\t\t    }\n\t\t})\n\t\t.build().show();\n\t\n\t\nIf you liked this library, add a star to this project and feel free to make a \u003cb\u003efork!\u003c/b\u003e\u003cbr\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003chr\u003e\nA special thanks to Rofiq Setiawan who made a porting of iOSDialog for Xamarin.\nCheck it out here: \u003ca href=\"https://github.com/rofiqsetiawan/iOSDialog\"\u003ehttps://github.com/rofiqsetiawan/iOSDialog\u003c/a\u003e\n\u003cbr\u003e\nAnother special thanks to Francesco Borrelli who helped me with the implementation of the iOSDialogClickListener\nHere is his Linkedin profile \u003ca href=\"https://github.com/rofiqsetiawan/iOSDialog\"\u003ehttps://www.linkedin.com/in/francesco-borrelli1/\u003c/a\u003e\n\n","funding_links":[],"categories":["Lib Android"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdacciaro%2FiOSDialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdacciaro%2FiOSDialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdacciaro%2FiOSDialog/lists"}