Tabnine Logo
LoaderImageView
Code IndexAdd Tabnine to your IDE (free)

How to use
LoaderImageView
in
com.elyeproj.loaderviewlibrary

Best Java code snippets using com.elyeproj.loaderviewlibrary.LoaderImageView (Showing top 8 results out of 315)

origin: elye/loaderviewlibrary

@Override
public boolean valueSet() {
  return (getDrawable() != null);
}
origin: elye/loaderviewlibrary

public LoaderImageView(Context context, AttributeSet attrs, int defStyleAttr) {
  super(context, attrs, defStyleAttr);
  init(attrs);
}
origin: elye/loaderviewlibrary

public void resetLoader(View view) {
  ((LoaderTextView)findViewById(R.id.txt_name)).resetLoader();
  ((LoaderTextView)findViewById(R.id.txt_title)).resetLoader();
  ((LoaderTextView)findViewById(R.id.txt_phone)).resetLoader();
  ((LoaderTextView)findViewById(R.id.txt_email)).resetLoader();
  ((LoaderImageView)findViewById(R.id.image_icon)).resetLoader();
  loadData();
}
origin: elye/loaderviewlibrary

private void init(AttributeSet attrs) {
  loaderController = new LoaderController(this);
  TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.loader_view, 0, 0);
  loaderController.setUseGradient(typedArray.getBoolean(R.styleable.loader_view_use_gradient, LoaderConstant.USE_GRADIENT_DEFAULT));
  loaderController.setCorners(typedArray.getInt(R.styleable.loader_view_corners, LoaderConstant.CORNER_DEFAULT));
  defaultColorResource = typedArray.getColor(R.styleable.loader_view_custom_color, ContextCompat.getColor(getContext(), R.color.default_color));
  typedArray.recycle();
}
origin: iZeroer/Daily

private void resetLoader(View view) {
  ((LoaderImageView)findViewById(R.id.news_summary_photo_iv)).resetLoader();
  ((LoaderTextView)findViewById(R.id.news_summary_title_tv)).resetLoader();
  ((LoaderTextView)findViewById(R.id.news_summary_digest_tv)).resetLoader();
  ((LoaderTextView)findViewById(R.id.news_summary_ptime_tv)).resetLoader();
}
origin: elye/loaderviewlibrary

public LoaderImageView(Context context) {
  super(context);
  init(null);
}
origin: elye/loaderviewlibrary

public void resetLoader() {
  if (getDrawable() != null) {
    super.setImageDrawable(null);
    loaderController.startLoading();
  }
}
origin: elye/loaderviewlibrary

public LoaderImageView(Context context, AttributeSet attrs) {
  super(context, attrs);
  init(attrs);
}
com.elyeproj.loaderviewlibraryLoaderImageView

Most used methods

  • resetLoader
  • getContext
  • getDrawable
  • init

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • JList (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now