java.lang.Object | ||
↳ | com.pdftron.pdf.interfaces.builder.SkeletalFragmentBuilder<E extends Fragment> | |
↳ | com.pdftron.collab.ui.reply.bottomsheet.ReplyFragmentBuilder |
Builder to create a ReplyFragment
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<ReplyFragmentBuilder> | CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BottomSheetReplyFragmentBuilder |
asBottomSheet()
Transform this builder into a
BottomSheetReplyFragmentBuilder . | ||||||||||
ReplyFragment |
build(Context context)
Convenience build method that calls
build(Context, Class) with the default class
for this builder. | ||||||||||
void |
checkArgs(Context context)
Check the arguments of this builder.
| ||||||||||
Bundle |
createBundle(Context context)
Create the bundle that will be passed as arguments to the Fragment.
| ||||||||||
int | describeContents() | ||||||||||
ReplyFragmentBuilder | setDisableCommentEdit(boolean displayCommentEdit) | ||||||||||
ReplyFragmentBuilder | setDisableReplyEdit(boolean disableReplyEdit) | ||||||||||
ReplyFragmentBuilder |
usingAdapter(AvatarAdapter adapter)
Optional method used to set
ReplyFragmentBuilder with a specified AvatarAdapter . | ||||||||||
ReplyFragmentBuilder |
usingTheme(int replyTheme)
Defines the theme that will be used by the
ReplyFragment . | ||||||||||
static ReplyFragmentBuilder |
withAnnot(String docId, String annotId, String userId)
Required method called to set
ReplyFragmentBuilder with a specified AvatarAdapter . | ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.interfaces.builder.SkeletalFragmentBuilder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
From interface
com.pdftron.pdf.interfaces.builder.Builder
|
Transform this builder into a BottomSheetReplyFragmentBuilder
.
BottomSheetReplyFragmentBuilder
with same settings as this 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. |
---|
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. |
---|
Optional method used to set ReplyFragmentBuilder
with a specified AvatarAdapter
.
adapter | for inflating and binding the reply message avatar |
---|
ReplyFragment
.
Defines the theme that will be used by the ReplyFragment
. The theme
must extend com.pdftron.collab.R.style.ReplyBaseTheme.DayNight.
replyTheme | style resource that extends ReplyBaseStyle |
---|
ReplyFragment
.
Required method called to set ReplyFragmentBuilder
with a specified AvatarAdapter
.
docId | that will be used to instantiate the ReplyFragment |
---|---|
annotId | that will be used to instantiate the ReplyFragment |
userId | that will be used to interact with the document |