{"id":37026068,"url":"https://github.com/withplum/emojibottomsheetdialog","last_synced_at":"2026-01-14T03:01:30.234Z","repository":{"id":41972376,"uuid":"293244186","full_name":"withplum/EmojiBottomSheetDialog","owner":"withplum","description":"A nice Android bottom sheet dialog populated with AndroidX EmojiCompat supported emojis.","archived":false,"fork":false,"pushed_at":"2025-04-23T20:15:52.000Z","size":516,"stargazers_count":19,"open_issues_count":2,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-09T06:38:43.668Z","etag":null,"topics":["android","bottomsheet","emojicompat","emojis","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"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/withplum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-06T09:31:13.000Z","updated_at":"2025-04-23T20:15:55.000Z","dependencies_parsed_at":"2024-03-30T23:32:36.915Z","dependency_job_id":"d8073d89-7ad1-4c7c-94b9-95898a488d92","html_url":"https://github.com/withplum/EmojiBottomSheetDialog","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/withplum/EmojiBottomSheetDialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withplum%2FEmojiBottomSheetDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withplum%2FEmojiBottomSheetDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withplum%2FEmojiBottomSheetDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withplum%2FEmojiBottomSheetDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withplum","download_url":"https://codeload.github.com/withplum/EmojiBottomSheetDialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withplum%2FEmojiBottomSheetDialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","bottomsheet","emojicompat","emojis","kotlin"],"created_at":"2026-01-14T03:01:29.268Z","updated_at":"2026-01-14T03:01:30.222Z","avatar_url":"https://github.com/withplum.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/maven-central/v/com.withplum/emojiBottomSheetDialog.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.withplum%22%20AND%20a:%22emojiBottomSheetDialog%22)\n# EmojiBottomSheetDialog\nA nice Android bottom sheet dialog populated with AndroidX EmojiCompat supported emojis.\n\n![EmojiBottomSheetDialog gif](https://i.imgur.com/0GisGjI.gif)\n\n## Usage\n\n### Add the dependency\n\n```gradle\ndependencies {\n    implementation(\"com.withplum:emojiBottomSheetDialog:\u003clatest-version\u003e)\n}\n```\n\n### Style customization\n\nThe appearance of the Bottom Sheet can be customised by providing a custom style like this example:\n\n```xml\n\u003cresources\u003e\n\n    \u003cstyle name=\"AppTheme\" parent=\"Theme.MaterialComponents.Light.DarkActionBar\"\u003e\n        \u003citem name=\"colorPrimary\"\u003e@color/colorPrimary\u003c/item\u003e\n        \u003citem name=\"colorPrimaryDark\"\u003e@color/colorPrimaryDark\u003c/item\u003e\n        \u003citem name=\"colorAccent\"\u003e@color/colorAccent\u003c/item\u003e\n        \u003citem name=\"android:windowBackground\"\u003e@color/white\u003c/item\u003e\n        \u003citem name=\"bottomSheetDialogTheme\"\u003e@style/ModalBottomSheetDialog\u003c/item\u003e\n    \u003c/style\u003e\n\n    \u003cstyle name=\"ModalBottomSheetDialog\" parent=\"ThemeOverlay.MaterialComponents.BottomSheetDialog\"\u003e\n        \u003citem name=\"colorSurface\"\u003e@color/white\u003c/item\u003e\n        \u003citem name=\"emojiBottomSheetTitleTextAppearance\"\u003e@style/MyCustomEmojiBottomTitleTextAppearance\u003c/item\u003e\n        \u003citem name=\"emojiBottomSheetSectionHeaderTextAppearance\"\u003e@style/MyCustomEmojiBottomSheetSectionHeaderTextAppearance\n        \u003c/item\u003e\n    \u003c/style\u003e\n\n    \u003cstyle name=\"MyCustomEmojiBottomTitleTextAppearance\" parent=\"TextAppearance.MaterialComponents.Headline6\"\u003e\n        \u003citem name=\"android:textColor\"\u003e@color/greyDark\u003c/item\u003e\n    \u003c/style\u003e\n\n    \u003cstyle name=\"MyCustomEmojiBottomSheetSectionHeaderTextAppearance\" parent=\"TextAppearance.MaterialComponents.Body1\"\u003e\n        \u003citem name=\"android:textColor\"\u003e@color/greyMid\u003c/item\u003e\n    \u003c/style\u003e\n\u003c/resources\u003e\n```\n\nThe title and section headers can be styled by providing custom text appearances in the style.\n\n| Element            | Attribute                                     | Default value                                        |\n|--------------------|-----------------------------------------------|------------------------------------------------------|\n| **Title**          | `emojiBottomSheetTitleTextAppearance`         | `@style/TextAppearance.MaterialComponents.Headline6` |\n| **Section Header** | `emojiBottomSheetSectionHeaderTextAppearance` | `TextAppearance.MaterialComponents.Body1`            |\n| **Background**     | `colorSurface`                                | `?android:attr/colorSurface`                         |\n\n### Initialize the dialog\n```kotlin\n\n    private fun initializeEmojiCategoriesPreferred() {\n        emojiItemViewList = EmojiCategoryTransformer().transform(initializeEmojiCategoryList())\n    }\n\n    private fun initializeEmojiCategoryList(): List\u003cCategory\u003e {\n        return listOf(\n            ActivitiesCategory(getString(R.string.activitiesCategoryTitle)),\n            AnimalsNatureCategory(getString(R.string.animalsAndNatureTitle)),\n            FoodDrinkCategory(getString(R.string.foodAndDrinkTitle)),\n            FlagsCategory(getString(R.string.flagsTitle)),\n            ObjectsCategory(getString(R.string.objectsTitle)),\n            SmileysPeopleCategory(getString(R.string.smileysAndPeopleTitle)),\n            SymbolsCategory(getString(R.string.symbolsTitle)),\n            TravelPlacesCategory(getString(R.string.travelAndPlacesTitle))\n        )\n    }\n\n    private fun showEmojiDialog() {\n        EmojiPickerDialog.Builder(this@MainActivity, emojiItemViewList)\n            .dismissWithAnimation(true)\n            .title(getString(R.string.emojiDialogTitle))\n            .cancelable(true)\n            .listener(object : EmojiClickListener {\n                override fun emojiClicked(unicode: EmojiItemView) {\n                    selectedEmoji.text = unicode.value\n                    selectedEmojiName.text = unicode.name\n                }\n            }).build().show()\n    }\n```\n\n## Breaking changes of version `3.0.0`\n\n1. Certain APIs have become `internal`.\n2. In version `3.0.0` the library uses Java 17. You'll have to add the following to your build file:\n\n```kotlin\nandroid {\n    compileOptions {\n        sourceCompatibility = JavaVersion.VERSION_17\n        targetCompatibility = JavaVersion.VERSION_17\n    }\n\n    kotlinOptions {\n        jvmTarget = \"17\"\n    }\n}\n```\n\n## Breaking changes of version `2.0.0`\nIn version `2.0.0` we migrated to [Emoji2](https://developer.android.com/jetpack/androidx/releases/emoji2).\nThis results in the removal of:\n* `EmojiCompatUtils`\n* `EmojInitListener`\n* `EmojiValues` which was mostly used internally.\n\nInitialization now happens internally via the [Emoji2](https://developer.android.com/jetpack/androidx/releases/emoji2).\nIf you still need an initialization listener you should use the official API as described [here](https://developer.android.com/develop/ui/views/text-and-emoji/emoji2#add-initialization-listeners).\nThe whole document [Support modern emoji - Android Developers](https://developer.android.com/develop/ui/views/text-and-emoji/emoji2) provides further details.\n\nThe same document will help you if you rely on AppCompat version lower than `1.4.0-alpha01` or on the [Emoji](https://developer.android.com/jetpack/androidx/releases/emoji)\nlibrary itself which provides [these custom views](https://developer.android.com/reference/kotlin/androidx/emoji/widget/package-summary) for compatibility.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n### Publishing\nThe project uses [gradle-maven-publish-plugin](https://github.com/vanniktech/gradle-maven-publish-plugin) to publish artifacts to maven central.\n\nTo upload archives use the command (after having put the appropriate credentials in gradle properties or env variables):\n\n```\n./gradlew clean build emojiBottomSheetDialog:publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithplum%2Femojibottomsheetdialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithplum%2Femojibottomsheetdialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithplum%2Femojibottomsheetdialog/lists"}