An open API service indexing awesome lists of open source software.

https://github.com/hotbitmapgg/nineimageview

A nine graph display controls
https://github.com/hotbitmapgg/nineimageview

Last synced: about 2 months ago
JSON representation

A nine graph display controls

Awesome Lists containing this project

README

        

# NineImageView

[![](https://jitpack.io/v/HotBitmapGG/NineImageView.svg)](https://jitpack.io/#HotBitmapGG/NineImageView)

A simple use of nine pictures show the control

## Screenshots

## Import

```java

Step 1. Add the JitPack repository to your build file
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 {
compile 'com.github.HotBitmapGG:NineImageView:V1.1'
}

```

## Directions

* custom properties

name | format | instructions
-----|------|----
nineImageHorizontalSpace | dimension | Horizontal Space
nineImageVerticalSpace | dimension | Vertical Space
nineImageRadius | dimension | View Radius
nineImageRatio | float | View Ratio
nineImageColumns | integer | View Columns Number

## Usage

* 1.In the XML

```java

```

* 2.In the code

```java

NineImageView nineImageView = (NineImageView) findViewById(R.id.multi_image);
//set the picture url set
nineImageView.setImageUrls(imageUrls);
nineImageView.setOnClickItemListener(new NineImageView.OnClickItemListener() {
@Override
public void onClick(int i, ArrayList url) {
//set the picture click event,then do you have to do operation
}
});

```

## instructions

The control of the image to load depends on the glide load library if you need to use other image You can directly copy under the lib files to your project, the framework for the image to replace it.

## About me

[![Wercker](https://img.shields.io/badge/weibo-HotBitmapGG-blue.svg)](http://weibo.com/3223089177/profile?topnav=1&wvr=6&is_all=1)

An android developer in Wuhan.

If you want to make friends with me, You can focus on my weibo.

## License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

You just DO WHAT THE FUCK YOU WANT TO.