• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Loading effect for the child views in Adapter View before binding data from service.

LazyLoadingViews

Loading effect for the child views in Adapter View before binding data from service.

Output sample

Just add the loading views in adapter layout.

  <test.jinesh.loadingviews.LoadingTextView
            android:layout_width="match_parent"
            android:textColor="#000"
            android:id="@+id/city"
            android:layout_margin="5dp"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:textSize="18sp"
            android:layout_height="0dp" />
			

Call startLoading() to show loading effect on views.

    LoadingTextView cityText = (LoadingTextView) view.findViewById(R.id.city);
	cityText.startLoading();

Call stopLoading() to hide loading effect on views.

cityText.stopLoading();