New Features
1. in Setting class new static function is added.
public static void prepare(); // to reduce reflowableView loading time.
eg) in epub reader main activity, onCreate method
void onCreate(..) {
..
..
Setting.prepare();
}
2. in ClickListener interface, new callback function is added
public interface ClickListener {
/**
* called when user touches some place in screen.
* @param x x coodination at click point.
* @param y y coodination at click point.
*/
void onClick(int x,int y);
/**
* called when user taps on the image
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param src the src(url) of image,
* developer can show the image in ImageView or something by url.
*/
void onImageClicked(int x,int y,String src);
/**
* called when user taps on the link
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param href the href of link,
* developer can make the routines to jump to specific position or load another web page by the href.
*/
void onLinkClicked(int x,int y,String href);
/**
* called whenever user taps on the link to ask whether the link should be ignored or not.
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param href the href of link,
* @return if the link should be ignored, return true
*/
public boolean ignoreLink(int x,int y,String href);
}
Bugs Fixed
3. Bugs Fixed : when Color.TRANSPARENT is not applied for the color of highlight under KITKAT
4. Bugs Fixed : when startDownload is called in Advanced Demo, filename which contains space makes error.