Android Open Source - CheckListView Constants






From Project

Back to project page CheckListView.

License

The source code is released under:

Apache License

If you think the Android project CheckListView 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 it.feio.android.checklistview.interfaces;
/*  w w w  . j a  va  2 s  .c o m*/
public interface Constants {
  public static final String TAG = "CheckListView";

  /**
   * Default line separator to parse simple text into checklist items
   */
  public static final String LINES_SEPARATOR = System.getProperty("line.separator");
  /**
   * Show or not delete icon on items
   */
  public static final boolean SHOW_DELETE_ICON = true;
  /**
   * Show or not an empty item on bottom of the list
   */
  public static final boolean SHOW_HINT_ITEM = false;
  /**
   * Keep cheched items when converting back to simple text. Otherwise they
   * will be removed.
   */
  public static final boolean KEEP_CHECKED = true;
  /**
   * Shows or not checks when converting back to simple text
   */
  public static final boolean SHOW_CHECKS = false;
  /**
   * Default value for dragging feature
   */
  public static final boolean DRAG_ENABLED = true;

  public static final String UNCHECKED_SYM = "[ ] ";
  public static final String CHECKED_SYM = "[x] ";
    public static final String UNCHECKED_ENTITY = "◻ ";
    public static final String CHECKED_ENTITY = "✓ ";

  public static final int DELETE_ITEM_DELAY = 350;
  
  // Views tags
  static final String TAG_LIST = "lt";
  static final String TAG_ITEM = "it";
  static final String TAG_DRAG_HANDLER = "dh";
  static final String TAG_EDITTEXT = "et";

  // Drag and drop parameters
  public static final boolean DRAG_VIBRATION_ENABLED = false;
  public static final int DRAG_VIBRATION_DURATION = 25;
  public static final int SCROLLING_DELAY = 10;
  public static final int SCROLLING_STEP = 5;
  public static final int SCROLLING_THREESHOLD = 100;
  
  
}




Java Source Code List

it.feio.android.checklistview.App.java
it.feio.android.checklistview.ChecklistManager.java
it.feio.android.checklistview.Settings.java
it.feio.android.checklistview.demo.MainActivity.java
it.feio.android.checklistview.demo.SettingsActivity.java
it.feio.android.checklistview.dragging.ChecklistViewDragShadowBuilder.java
it.feio.android.checklistview.dragging.ChecklistViewItemOnDragListener.java
it.feio.android.checklistview.dragging.ChecklistViewOnTouchListener.java
it.feio.android.checklistview.exceptions.ViewNotSupportedException.java
it.feio.android.checklistview.interfaces.CheckListChangedListener.java
it.feio.android.checklistview.interfaces.CheckListEventListener.java
it.feio.android.checklistview.interfaces.Constants.java
it.feio.android.checklistview.interfaces.EditTextEventListener.java
it.feio.android.checklistview.models.CheckListViewItem.java
it.feio.android.checklistview.models.CheckListView.java
it.feio.android.checklistview.models.EditTextMultiLineNoEnter.java
it.feio.android.checklistview.utils.AlphaManager.java
it.feio.android.checklistview.utils.DensityUtil.java