-
public final class ConcatAdapter.Config.BuilderThe builder for Config class.
-
-
Method Summary
Modifier and Type Method Description ConcatAdapter.Config.BuildersetIsolateViewTypes(boolean isolateViewTypes)Sets whether ConcatAdapter should isolate view types of nested adapters fromeach other. ConcatAdapter.Config.BuildersetStableIdMode(@NonNull() ConcatAdapter.Config.StableIdMode stableIdMode)Sets how the ConcatAdapter should handle stable ids(hasStableIds). ConcatAdapter.Configbuild()-
-
Method Detail
-
setIsolateViewTypes
@NonNull() ConcatAdapter.Config.Builder setIsolateViewTypes(boolean isolateViewTypes)
Sets whether ConcatAdapter should isolate view types of nested adapters fromeach other.
- Parameters:
isolateViewTypes-{@code true}if ConcatAdapter should override viewtypes of nested adapters to avoid view typeconflicts,{@code false}otherwise.Defaults to true.
-
setStableIdMode
@NonNull() ConcatAdapter.Config.Builder setStableIdMode(@NonNull() ConcatAdapter.Config.StableIdMode stableIdMode)
Sets how the ConcatAdapter should handle stable ids(hasStableIds). See documentation in stableIdMode for details.
- Parameters:
stableIdMode- The stable id mode for the ConcatAdapter.
-
build
@NonNull() ConcatAdapter.Config build()
-
-
-
-