cosmohacker / Intendo-Java

This is my own custom intent service library with animation and bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android : Java Custom Intent Service

This is my own custom intent service library with animation and bundle

Add it in your root build.gradle at the end of repositories:

GRADLE

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.cosmohacker:Intendo-Java:1.1.1'
}

MAVEN

<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>

SBT

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"	

LEININGEN

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"]]	

USAGE

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);

Transmission Types


"left-right"
"right-left"
"bottom-up"
"up-bottom"
"fadein-fadeout"
"fadeout-fadein"
"rotateout-rotatein"
"rotatein-rotateout"

About

This is my own custom intent service library with animation and bundle

License:MIT License


Languages

Language:Java 100.0%