This is my own custom intent service library with animation and bundle
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.cosmohacker:Intendo-Java:1.1.1'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
<dependency>
<groupId>com.github.cosmohacker</groupId>
<artifactId>Intendo-Java</artifactId>
<version>1.1.1</version>
</dependency>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Step 2. Add the dependency
libraryDependencies += "com.github.cosmohacker" % "Intendo-Java" % "1.1.1"
Add it in your project.clj at the end of repositories:
repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
:dependencies [[com.github.cosmohacker/Intendo-Java "1.1.1"]]
import com.cosmohacker.intentservice.IntentService;
IntentService.intentAddress(Context mContext, Class forwardClass, String transmissionType);
IntentService.intentAddressSimple(Context mContext, Class forwardClass);
IntentService.intentAddressWithBundle(Context mContext, Class forwardClass, String transmissionType, Bundle bundle, String key, String content) ;
IntentService.intentAddressSimpleWithBundle(Context mContext, Class forwardClass, Bundle bundle, String key, String content);
"left-right"
"right-left"
"bottom-up"
"up-bottom"
"fadein-fadeout"
"fadeout-fadein"
"rotateout-rotatein"
"rotatein-rotateout"