Comments (8)
Hi @fiftyonemoon ,
i think i didn't understand what you mean,
actually it won't show a toast when you click on sticker tab, it will open the Stickers tab by default...
I need more details about what you wanna do..
from axemojiview.
see in this image. how to display it in chat?
from axemojiview.
Aha!
you must add an ImageView to your layout (RecyclerView) and load your sticker resource on it!
the toast is showing the resource id of the clicked sticker.
from axemojiview.
Yaa but see this!
stickerView.setOnStickerActionsListener(new OnStickerActions() {
@Override
public void onClick(View view, Sticker sticker, boolean fromRecent) {
Toast.makeText(view.getContext(),sticker.toString()+" clicked!", Toast.LENGTH_SHORT).show();
imageView.setImageResource( " WHAT I DO HERE? " );
}
@Override
public boolean onLongClick(View view, Sticker sticker, boolean fromRecent) {
return false;
}
});
Here onClickMehtod have 3 parmas but how to load in imageview? I tried but nothing happened.
By the way response time is great.
from axemojiview.
Ok Amir.
I solved it by just adding imageView.setImageResource((int) Sticker.tostirng());
Thank you.
from axemojiview.
Well done!
Note: it's better to use getData instead of toString, imageView.setImageResource((int) sticker.getData());
from axemojiview.
Ok Amir.
Can i text you on Telegram in future? if i need some help?
TelegramID : @KingAmir272 is it yours?
Remember me if i text you 😂😂😂
from axemojiview.
Yes sure,
Just mention this conversation :D
from axemojiview.
Related Issues (20)
- AXEmojiUtils.replaceWithEmojis not respecting emoji size ? HOT 4
- Search is not working HOT 1
- Is there a way to remove all variants? HOT 1
- Issue with showing "Smiling face with 3 Hearts" HOT 1
- How to implement the sticker inside custom keyboard? HOT 1
- Crash in Android 12 Samsung device HOT 1
- Can i use open EmojiView without using AXEmojiEditText HOT 2
- Can i use this library for opening emoji picker dialog like in Slack app
- It Doesn't Work on Android 12 HOT 2
- Such a nice library but doesn't work on Android 6, 7 and 12 HOT 1
- Support for AXrLottieDrawable possible ? HOT 7
- Expand to full screen HOT 6
- EmojiPopupLayout with AXSingleEmojiView fails to calculate height HOT 3
- When the popupLayout is hidden, the keyboard pops out the edittext as if leaving room for the PopupLayout. HOT 6
- م
- AxEmojiPopupLayout - Failed to instantiate one or more classes
- Is it feasible, to use TextView in AXEmojiRecyclerAdapter, if we only intent to support Google emoji in Android only?
- Help me!!! HOT 1
- NullPointerException object Pattern
- PROGUARD Rules needed to activate AXEmojiView
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axemojiview.