Use of custom carousel image framework and custom carousel image framework
I am a relatively lazy person .. I don't want to talk too much about advanced things. I just want to express it in a simple way .... It is a miserable story for a girl to be a programmer .. Haha
Now let's talk about the use of this framework.
First, your project needs to introduce this dependent library, and then you are working on the heap code...
The xml in your main method must be the package name + class name of your dependent library.
In this way, the java code is very simple. You only need to initialize it.
Private void initAD (){
/**
* Initialize data in carousel Images
*/
For (int I = 0; I Ad ad = new Ad ();
Ad. setImg (img [I]);
Data. add (ad );
}
AdScrollLayout. addImageAndBitMapState (data, R. drawable. point_normal,
R. drawable. point_selected );
}
Hope you like it... Top up
There is no fixed source code for this use... I really don't know how to use it. You can find me...
There is my contact method in the document. The article is just my opinion. If you have any bad ideas, please kindly advise ....
Let's take a look at the actual situation.
This is the result of round-robin playback .. You can also slide it manually...