vanniktech / Emoji

A library to add Emoji support to your Android / iOS / JVM Application
Apache License 2.0
1.51k stars 290 forks source link

import com.vanniktech.emoji.EmojiTextView not working #1024

Closed adbenitez closed 9 months ago

adbenitez commented 9 months ago

Thank you for filing an issue. If this is a bug that you want to report, please take the time to provide some information:

Screenshot(s) showing the issue and reprodution steps are appreciated.


I am following the README and adding:

implementation "com.vanniktech:emoji-ios:0.17.0"

to my build.gradle file, then I try to import:

import com.vanniktech.emoji.EmojiManager; // <- works
import com.vanniktech.emoji.google.GoogleEmojiProvider; // <- works
import com.vanniktech.emoji.EmojiTextView; // <- does NOT works: Cannot resolve symbol

also using in layout/xml files doesn't work

the project I am trying to add this library is a java project, not Kotlin, could that be related? thanks in advance

adbenitez commented 8 months ago

@vanniktech could you at least say why the issue was closed? thanks in advance and sorry if I did something wrong

vanniktech commented 8 months ago

probably needs to be import com.vanniktech.emoji.EmojiTextView

adbenitez commented 8 months ago

@vanniktech ah sorry for that! it was that after import com.vanniktech.emoji.EmojiTextView failed I tried without the "emoji" subpackage because reading old issues it seems at some point it was like that, but the issue is that import com.vanniktech.emoji.EmojiTextView is not working, I updated the issue title and description

adbenitez commented 8 months ago

image

adbenitez commented 8 months ago

re-created with correct info: https://github.com/vanniktech/Emoji/issues/1025