Android Open Source - pulltorefresh_library_with_Indexable_listView I Indicator Layout

From Project

Back to project page pulltorefresh_library_with_Indexable_listView.


The source code is released under:

Apache License

If you think the Android project pulltorefresh_library_with_Indexable_listView 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

 * Copyright 2013 Naver Business Platform Corp.
 * /*w  w w  .j  a v a  2s  .  c  o  m*/
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package com.handmark.pulltorefresh.library;

import com.handmark.pulltorefresh.library.internal.IndicatorLayout;

 * Indicator layout which react pulling or releasing of Pull To Refresh
 * <br />
 * NOTE : To make new Indicator layout, You have to override {@link IndicatorLayout} instead of IIndicatorLayout. 
 * <br /> Because {@link PullToRefreshAdapterViewBase} uses indicator layouts as a kind of View component. {@link IndicatorLayout} is a descendant class of {@code View}.
 * @author Wonjun Kim
public interface IIndicatorLayout {
   * Show the Indicator Layout 
  public void show();
   * Hide the Indicator Layout 
  public void hide();
   * Check whether this indicator layout is being shown or not
   * @return true if the indicator layout is visible now 
  public boolean isVisible();
   * Make a Action when "PullToRefresh" event has been fired
  public void pullToRefresh();
   * Make a Action when "ReleaseToRefresh" event has been fired
  public void releaseToRefresh();

Java Source Code List