Skip to content

urizev/Diapo

Repository files navigation

Under construction

This README.md file is under heavy edition and could change in next days. Please, wait til this section is removed


Gradle Dependency

Repository

Add this in your root build.gradle file (not your module build.gradle file):

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

And add this in build.gradle file of the module you want to use the library.

dependencies {
	...
    compile('com.github.urizev:diapo:0.4') {
    }
}

Basic usage

Here's a basic example that launches a slideshow with .

int index;
ArrayList<String> urls;

Intent intent = new Intent(context.getActivity(), DiapoActivity.class);
intent.putExtra(Diapo.EXTRA_IMAGE_URLS, urls);
intent.putExtra(Diapo.EXTRA_IMAGE_INDEX, index);
context.startActivity(intent);

Finally, add this to your AndroidManifest.xml.

<activity android:name="org.urizev.diapo.DiapoActivity"
          android:theme="@style/Theme.AppCompat.NoActionBar" />

What's new

TBC


Sample Project

You can download the latest sample APK from Google Play

Get it on Google Play

Having the sample project installed is a good way to be notified of new releases. Although Watching this repository will allow GitHub to email you whenever I publish a release.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages