PixEditor is a Whatsapp image Editor replica. with this you can integrate a image Editor just like whatsapp.
editOptions = EditOptions.init().apply {
requestCode = RequestCodeEditor
selectedlist = returnValue //Custom Path For Image Storage
addMoreImagesListener = this@MainActivity
}
PixEditor.start(this@MainActivity, editOptions)
Use onActivityResult method to get results
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == Activity.RESULT_OK && requestCode1 == RequestCodeEditor) {
val returnValue = data!!.getStringArrayListExtra(PixEditor.IMAGE_RESULTS)
}
}
include in app level build.gradle
repositories {
maven { url 'https://jitpack.io' }
}
implementation 'com.fxn769:pix-editor:1.0.4'
or Maven:
<dependency>
<groupId>com.fxn769</groupId>
<artifactId>pix-editor</artifactId>
<version>1.0.4</version>
<type>pom</type>
</dependency>
or ivy:
<dependency org='com.fxn769' name='pix-editor' rev='1.0.4'>
<artifact name='pix-editor' ext='pom' ></artifact>
</dependency>
Licensed under the Apache License, Version 2.0, click here for the full license.
This project was created by Akshay Sharma.
If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 by PayPal
I love using my work and I'm available for contract work. Freelancing helps to maintain and keep my open source projects up to date!