public class AsyncAppCompatFactory implements AsyncLayoutFactory


Factory for inflating views in AppCompat activity. This is used when Async inflater is created with AppCompat context.

Summary

Public constructors

Public methods

@Nullable View
onCreateView(
    @NonNull String name,
    @NonNull Context context,
    @NonNull AttributeSet attrs
)

Creates view using AppCompatViewInflater.

@Nullable View
onCreateView(
    @Nullable View parent,
    @NonNull String name,
    @NonNull Context context,
    @NonNull AttributeSet attrs
)

Creates view using AppCompatViewInflater.

Public constructors

AsyncAppCompatFactory

Added in 1.1.0-alpha02
public AsyncAppCompatFactory()

Public methods

onCreateView

Added in 1.1.0-alpha02
public @Nullable View onCreateView(
    @NonNull String name,
    @NonNull Context context,
    @NonNull AttributeSet attrs
)

Creates view using AppCompatViewInflater.

onCreateView

Added in 1.1.0-alpha02
public @Nullable View onCreateView(
    @Nullable View parent,
    @NonNull String name,
    @NonNull Context context,
    @NonNull AttributeSet attrs
)

Creates view using AppCompatViewInflater.