Codota Logo
ZGrid
Code IndexAdd Codota to your IDE (free)

How to use
ZGrid
in
com.mzelzoghbi.zgallery

Best Java code snippets using com.mzelzoghbi.zgallery.ZGrid (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: mzelzoghbi/ZGallery

/**
 * @param activity   Refrence from current activity
 * @param imagesURLs Image URLs to be displayed
 */
public static ZGrid with(Activity activity, ArrayList<String> imagesURLs) {
  return new ZGrid(activity, imagesURLs);
}
origin: mzelzoghbi/ZGallery

public void gridActivity(View v) {
  ZGrid.with(this, getDummyImageList())
      .setToolbarColorResId(R.color.colorPrimary)
      .setTitle("Zak Gallery")
      .setToolbarTitleColor(ZColor.WHITE)
      .setSpanCount(3)
      .setGridImgPlaceHolder(R.color.colorPrimary)
      .show();
}
com.mzelzoghbi.zgalleryZGrid

Javadoc

Created by mohamedzakaria on 8/7/16.

Most used methods

  • <init>
  • setGridImgPlaceHolder
    Set placeholder image for images in the grid
  • setSpanCount
    Set grid layout colums count (default: 2)
  • setTitle
    Set toolbar title
  • setToolbarColorResId
    Setting toolbar Color ResourceId
  • setToolbarTitleColor
    Setting toolbar color
  • show
    Start the grid activity with builder settings
  • with

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now