public class Logger extends java.lang.Object implements SectionsDebugLogger
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<SectionsDebugLogger> |
mSectionsDebugLoggers |
| Constructor and Description |
|---|
Logger(java.util.Collection<SectionsDebugLogger> sectionsDebugLoggers) |
| Modifier and Type | Method and Description |
|---|---|
void |
logDelete(java.lang.String tag,
int index,
java.lang.String thread)
fired when a component is being deleted
|
void |
logInsert(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
fired when a component is being inserted
|
void |
logMove(java.lang.String tag,
int fromPosition,
int toPosition,
java.lang.String thread)
fired when a component is being moved
|
void |
logRequestFocus(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
fired when a component is being focused
|
void |
logRequestFocusWithOffset(java.lang.String tag,
int index,
int offset,
RenderInfo renderInfo,
java.lang.String thread)
fired when a component is being focused
|
void |
logShouldUpdate(java.lang.String tag,
java.lang.Object previous,
java.lang.Object next,
java.lang.String previousPrefix,
java.lang.String nextPrefix,
java.lang.Boolean shouldUpdate,
java.lang.String thread)
fired when determining if a section should re-compute changesets
|
void |
logUpdate(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
fired when a component is being updated
|
protected java.util.Set<SectionsDebugLogger> mSectionsDebugLoggers
public Logger(java.util.Collection<SectionsDebugLogger> sectionsDebugLoggers)
public void logInsert(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
SectionsDebugLoggerlogInsert in interface SectionsDebugLoggertag - tag defining component's section treeindex - position in the recyclerviewrenderInfo - component type that is being operated onthread - name of thread that wanted to make this changepublic void logUpdate(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
SectionsDebugLoggerlogUpdate in interface SectionsDebugLoggertag - tag defining component's section treeindex - position in the reyclerviewrenderInfo - component type that is being operated onthread - name of thread that wanted to make this changepublic void logDelete(java.lang.String tag,
int index,
java.lang.String thread)
SectionsDebugLoggerlogDelete in interface SectionsDebugLoggertag - tag defining component's section treeindex - position in the reyclerviewthread - name of thread that wanted to make this changepublic void logRequestFocus(java.lang.String tag,
int index,
RenderInfo renderInfo,
java.lang.String thread)
SectionsDebugLoggerlogRequestFocus in interface SectionsDebugLoggertag - tag defining component's section treeindex - position in the reyclerviewrenderInfo - component type that is being operated onthread - name of thread that wanted to make this changepublic void logRequestFocusWithOffset(java.lang.String tag,
int index,
int offset,
RenderInfo renderInfo,
java.lang.String thread)
SectionsDebugLoggerlogRequestFocusWithOffset in interface SectionsDebugLoggertag - tag defining component's section treeindex - position in the reyclerviewoffset - offset from index to scroll torenderInfo - component type that is being operated onthread - name of thread that wanted to make this changepublic void logMove(java.lang.String tag,
int fromPosition,
int toPosition,
java.lang.String thread)
SectionsDebugLoggerlogMove in interface SectionsDebugLoggertag - tag defining component's section treefromPosition - source indextoPosition - destination indexthread - name of thread that wanted to make this changepublic void logShouldUpdate(java.lang.String tag,
java.lang.Object previous,
java.lang.Object next,
java.lang.String previousPrefix,
java.lang.String nextPrefix,
java.lang.Boolean shouldUpdate,
java.lang.String thread)
SectionsDebugLoggerlogShouldUpdate in interface SectionsDebugLoggertag - tag defining component's section treeprevious - previous section that's already madenext - next section being builtpreviousPrefix - string of component's prefixnextPrefix - string of component's prefixshouldUpdate - boolean value describing if previous & next are the samethread - name of thread that wanted to make this change