Android Open Source - Android-Link-Preview Link Preview Callback






From Project

Back to project page Android-Link-Preview.

License

The source code is released under:

Apache License

If you think the Android project Android-Link-Preview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.leocardz.link.preview.library;
//  www . j av a  2 s.c o  m
/**
 * Callback that is invoked with before and after the loading of a link preview
 * 
 */
public interface LinkPreviewCallback {

  void onPre();

  /**
   * 
   * @param sourceContent
   *            Class with all contents from preview.
   * @param isNull
   *            Indicates if the content is null.
   */
  void onPos(SourceContent sourceContent, boolean isNull);
}




Java Source Code List

com.leocardz.link.preview.Main.java
com.leocardz.link.preview.library.DowloadImageCallback.java
com.leocardz.link.preview.library.LinkPreviewCallback.java
com.leocardz.link.preview.library.Regex.java
com.leocardz.link.preview.library.SearchUrls.java
com.leocardz.link.preview.library.SourceContent.java
com.leocardz.link.preview.library.TextCrawler.java