Android Open Source - built.io-todo-android Built List View Result Call Back






From Project

Back to project page built.io-todo-android.

License

The source code is released under:

Terms of Use & Licensing<br />Hand Drawn Web Icon Set is free and it will always be free. You can use it for both commercial and non-commercial projects. You can modify the icons anyway you like. Howe...

If you think the Android project built.io-todo-android 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 com.raweng.built.userInterface;
//from w ww .j a v a 2  s .c  o  m
import android.view.View;
import android.view.ViewGroup;

import com.raweng.built.BuiltError;
import com.raweng.built.BuiltObject;

/**
 * {@link BuiltUIListViewController} class callback.
 * 
 * notify class after {@link BuiltUIListViewController} network call executed.
 * 
 * @author raw engineering, Inc
 *
 */
public abstract class BuiltListViewResultCallBack {
  
  /**
   * Triggered after call completes.
     *  
   * @param position
   *           position.
   * @param convertView
   *           convertView for arrange view in Customise list view.
   * @param parent
   *           parent ViewGroup.
   * @param builtObject
   *           List of BuiltObject.
   * @return 
   */
    public abstract View getView(int position, View convertView, ViewGroup parent, BuiltObject builtObject);
   
    /**
     * Get the type of View that will be created by getView(int, View, ViewGroup) for the specified item.
     * 
     * @param position
     *           The position of the item within the adapter's data set whose view type we want.
     * @return
     *       An integer representing the type of View.Two views should share the same type if one can be converted to the other in getView(int, View, ViewGroup). Note: Integers must be in the range 0 to getViewTypeCount() - 1. IGNORE_ITEM_VIEW_TYPE can also be returned.
     */
    public abstract int getItemViewType(int position);    
        
    /**
     *  Returns the number of types of Views that will be created by getView(int, View, ViewGroup). 
     *  Each type represents a set of views that can be converted in getView(int, View, ViewGroup). 
     *  If the adapter always returns the same type of View for all items, this method should return 1.This method will only be called when when the adapter is set on the the AdapterView.
     *  
     * @return
     *       The number of types of Views that will be created by this adapter
     */
    public abstract int getViewTypeCount();
   
    
    /**
     * Triggered after an error occurs.
     * 
     * @param BuiltErrorObject
     *          {@link BuiltError} object.
     */
    public abstract void onError(BuiltError error);

    /**
     * Triggered after onSuccess() or onError().
     * 
     */
    public abstract void onAlways();
}




Java Source Code List

android.UnusedStub.java
com.example.todoapp.LoginActivity.java
com.example.todoapp.TaskModel.java
com.example.todoapp.TaskViewHolder.java
com.example.todoapp.TodoActivity.java
com.example.todoapp.TodoAppApplication.java
com.raweng.built.userInterface.BuiltAuthResultCallBack.java
com.raweng.built.userInterface.BuiltDetails.java
com.raweng.built.userInterface.BuiltListViewResultCallBack.java
com.raweng.built.userInterface.BuiltTwitterLoginActivity.java
com.raweng.built.userInterface.BuiltUIListViewController.java
com.raweng.built.userInterface.BuiltUILoginController.java
com.raweng.built.userInterface.BuiltUIPickerController.java
com.raweng.built.userInterface.BuiltUISignUpController.java
com.raweng.built.userInterface.BuiltioUserInterfaceActivity.java
com.raweng.built.userInterface.CustomEditTextErrorField.java
com.raweng.built.userInterface.GetGoogleAccessToken.java
com.raweng.built.userInterface.IGoogleLoginDelegate.java
com.raweng.built.userInterface.ResultDataSource.java
com.raweng.built.userInterface.UIAndroidExplorerScreen.java
com.raweng.built.userInterface.pulltorefresh.ILoadingLayout.java
com.raweng.built.userInterface.pulltorefresh.IPullToRefresh.java
com.raweng.built.userInterface.pulltorefresh.LoadingLayoutProxy.java
com.raweng.built.userInterface.pulltorefresh.OverscrollHelper.java
com.raweng.built.userInterface.pulltorefresh.PullToRefreshAdapterViewBase.java
com.raweng.built.userInterface.pulltorefresh.PullToRefreshBase.java
com.raweng.built.userInterface.pulltorefresh.PullToRefreshListView.java
com.raweng.built.userInterface.pulltorefresh.internal.EmptyViewMethodAccessor.java
com.raweng.built.userInterface.pulltorefresh.internal.FlipLoadingLayout.java
com.raweng.built.userInterface.pulltorefresh.internal.IndicatorLayout.java
com.raweng.built.userInterface.pulltorefresh.internal.LoadingLayout.java
com.raweng.built.userInterface.pulltorefresh.internal.RotateLoadingLayout.java
com.raweng.built.userInterface.pulltorefresh.internal.Utils.java
com.raweng.built.userInterface.pulltorefresh.internal.ViewCompat.java