org.solovyev.android.list
Class AbstractListItem

java.lang.Object
  extended by org.solovyev.android.list.AbstractListItem
All Implemented Interfaces:
UpdatableViewBuilder<android.widget.TextView>, ViewBuilder<android.widget.TextView>

public abstract class AbstractListItem
extends Object
implements UpdatableViewBuilder<android.widget.TextView>

User: serso Date: 4/18/12 Time: 1:23 AM


Constructor Summary
protected AbstractListItem(int textViewLayoutId)
           
protected AbstractListItem(int textViewLayoutId, String tag)
           
 
Method Summary
 android.widget.TextView build(android.content.Context context)
           
protected abstract  CharSequence getText(android.content.Context context)
           
 android.widget.TextView updateView(android.content.Context context, android.view.View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractListItem

protected AbstractListItem(int textViewLayoutId,
                           @Nonnull
                           String tag)

AbstractListItem

protected AbstractListItem(int textViewLayoutId)
Method Detail

updateView

@Nonnull
public android.widget.TextView updateView(@Nonnull
                                                  android.content.Context context,
                                                  @Nonnull
                                                  android.view.View view)
Specified by:
updateView in interface UpdatableViewBuilder<android.widget.TextView>

build

@Nonnull
public android.widget.TextView build(@Nonnull
                                             android.content.Context context)
Specified by:
build in interface ViewBuilder<android.widget.TextView>

getText

@Nullable
protected abstract CharSequence getText(@Nonnull
                                                 android.content.Context context)


Copyright © 2014 se.solovyev. All Rights Reserved.