{"id":13463501,"url":"https://github.com/litao0621/NiftyDialogEffects","last_synced_at":"2025-03-25T06:32:23.207Z","repository":{"id":41380862,"uuid":"22462204","full_name":"litao0621/NiftyDialogEffects","owner":"litao0621","description":"Nifty Modal Dialog Effects","archived":false,"fork":false,"pushed_at":"2020-04-23T16:15:56.000Z","size":343,"stargazers_count":2479,"open_issues_count":3,"forks_count":726,"subscribers_count":135,"default_branch":"master","last_synced_at":"2024-04-22T06:20:33.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litao0621.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-31T08:31:54.000Z","updated_at":"2024-04-20T09:21:48.000Z","dependencies_parsed_at":"2022-09-12T04:01:33.664Z","dependency_job_id":null,"html_url":"https://github.com/litao0621/NiftyDialogEffects","commit_stats":null,"previous_names":["sd6352051/niftydialogeffects"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litao0621%2FNiftyDialogEffects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litao0621%2FNiftyDialogEffects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litao0621%2FNiftyDialogEffects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litao0621%2FNiftyDialogEffects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litao0621","download_url":"https://codeload.github.com/litao0621/NiftyDialogEffects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222045616,"owners_count":16921984,"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":[],"created_at":"2024-07-31T13:00:54.477Z","updated_at":"2024-10-29T12:31:29.966Z","avatar_url":"https://github.com/litao0621.png","language":"Java","funding_links":[],"categories":["Uncategorized","对话框","Libraries"],"sub_categories":["Uncategorized","Dialog"],"readme":"NiftyDialogEffects\n==================\nNiftyDialogEffects is deprecated\n\nNifty Modal Dialog Effects look like this([Nifty Modal Window Effects][1])\n\n[![Android Arsenal](http://img.shields.io/badge/%20%20%20Android%20Arsenal%20%20%20-%20%20%20NiftyDialogEffects%20%20%20-blue.svg)](http://android-arsenal.com/details/1/772)\n[![Build Status](https://travis-ci.org/sd6352051/NiftyDialogEffects.svg?branch=master)](https://travis-ci.org/sd6352051/NiftyDialogEffects)\n[![JitPack Maven](https://img.shields.io/github/tag/sd6352051/NiftyDialogEffects.svg?label=JitPack%20Maven)](https://jitpack.io/#sd6352051/NiftyDialogEffects)\n\n# ScreenShot\n\n![Image][2]\n.\n![Image][3]\n.\n![Image][4]\n.\n![Image][5]\n\n# Gradle\n\n\nusing [JitPack](https://jitpack.io/#sd6352051/NiftyDialogEffects):\n\n```gradle\nrepositories { \n    maven { url \"https://jitpack.io\" }\n}\ndependencies {\n    compile 'com.github.sd6352051:NiftyDialogEffects:v1.0.3'\n}\n```\n\n# Usage\n``` java\nNiftyDialogBuilder dialogBuilder=NiftyDialogBuilder.getInstance(this);\n\ndialogBuilder\n    .withTitle(\"Modal Dialog\")\n    .withMessage(\"This is a modal Dialog.\")\n    .show();\n```\n\n\n# Configuration\n``` java\ndialogBuilder\n    .withTitle(\"Modal Dialog\")                                  //.withTitle(null)  no title\n    .withTitleColor(\"#FFFFFF\")                                  //def\n    .withDividerColor(\"#11000000\")                              //def\n    .withMessage(\"This is a modal Dialog.\")                     //.withMessage(null)  no Msg\n    .withMessageColor(\"#FFFFFFFF\")                              //def  | withMessageColor(int resid)\n    .withDialogColor(\"#FFE74C3C\")                               //def  | withDialogColor(int resid)\n    .withIcon(getResources().getDrawable(R.drawable.icon))\n    .withDuration(700)                                          //def\n    .withEffect(effect)                                         //def Effectstype.Slidetop\n    .withButton1Text(\"OK\")                                      //def gone\n    .withButton2Text(\"Cancel\")                                  //def gone\n    .isCancelableOnTouchOutside(true)                           //def    | isCancelable(true)\n    .setCustomView(R.layout.custom_view,v.getContext())         //.setCustomView(View or ResId,context)\n    .setButton1Click(new View.OnClickListener() {\n        @Override\n        public void onClick(View v) {\n            Toast.makeText(v.getContext(), \"i'm btn1\", Toast.LENGTH_SHORT).show();\n                    }\n    })\n    .setButton2Click(new View.OnClickListener() {\n        @Override\n        public void onClick(View v) {\n            Toast.makeText(v.getContext(),\"i'm btn2\",Toast.LENGTH_SHORT).show();\n        }\n    })\n    .show();\n```\n# Effects\n`Fadein`, `Slideleft`, `Slidetop`, `SlideBottom`, `Slideright`, `Fall`, `Newspager`, `Fliph`, `Flipv`, `RotateBottom`, `RotateLeft`, `Slit`, `Shake`, `Sidefill`\n\n([See The Effect][1])\n\n# Developed By\n\n* 李涛-Li Tao - \u003conresume@live.com\u003e \n\n# License\nCopyright 2014 litao.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\n\n\n\n\n\n[1]: http://tympanus.net/Development/ModalWindowEffects/\n[2]: http://img2.ph.126.net/MQFh_6FkTAD1qqzZ7EVdow==/2561703763061757743.png\n[3]: http://img2.ph.126.net/uHM9MmUmlJk8moJlVyNTmw==/2568459162502797428.png\n[4]: http://img1.ph.126.net/g2fw5Z1OtPBgE0cbn-HBqw==/6608233108214335942.png\n[5]: http://img0.ph.126.net/iC46e1bXkU1f1rIfUZo99w==/6597620621984019408.gif\n\nby cncounter \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitao0621%2FNiftyDialogEffects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitao0621%2FNiftyDialogEffects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitao0621%2FNiftyDialogEffects/lists"}