java.lang.Object | |
↳ | com.pdftron.pdf.interfaces.builder.SkeletalFragmentBuilder<E extends Fragment> |
Known Direct Subclasses |
Skeletal class with minimal implementation required for a Fragment builder.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SkeletalFragmentBuilder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
E |
build(Context context)
Convenience build method that calls
build(Context, Class) with the default class
for this builder. | ||||||||||
<T extends E extends Fragment> T |
build(Context context, Class<T> clazz)
Create the specified Fragment of type E, initialized with builder settings.
| ||||||||||
abstract void |
checkArgs(Context context)
Check the arguments of this builder.
| ||||||||||
abstract Bundle |
createBundle(Context context)
Create the bundle that will be passed as arguments to the Fragment.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
From interface
com.pdftron.pdf.interfaces.builder.Builder
|
Convenience build method that calls build(Context, Class)
with the default class
for this builder.
context | the context used to initialize the fragment and its theme. |
---|
Create the specified Fragment of type E, initialized with builder settings. Uses the theme from the specified context.
context | the context used to initialize the fragment and its theme. |
---|---|
clazz | the class this builder will use to create the instance. |
Check the arguments of this builder. You can also det the default builder parameters in this method.
context | used to initialize default building parameters |
---|
Create the bundle that will be passed as arguments to the Fragment. Called right after
calling checkArgs(Context)
context | used to initialize arguments for the bundle. |
---|