Android text watcher replacing emojis with inline image spans inside a TextView. This library allows you to have a consistent emoji management on any device and any Android version. All emojis of Unicode 8.0 are supported and will be replaced with images from the latest Google Noto Font.
compile 'com.judas.android:emoji-replacer:1.0'
Add a TextWatcher to any TextView/EditText in one simple line:
final TextView myTextView = (TextView) findViewById(R.id.mytextview);
EmojiReplacer.watch(myTextView);
This library is built upon the great work of the emoji-java project. See NOTICE file for an exhaustive list of used libraries.
Feel free to contribute ! The project is managed using git flow workflow.
Copyright 2016 Jules Tréhorel
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.