Skip to content

Commit

Permalink
Add JavaDocs on created classes
Browse files Browse the repository at this point in the history
  • Loading branch information
AudricV committed Sep 16, 2021
1 parent c5d6e05 commit 12934dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@

import org.schabi.newpipe.util.external_communication.ShareUtils;

/**
* An {@link AppCompatEditText} which uses {@link ShareUtils#shareText(Context, String, String)}
* when sharing selected text by using the {@code Share} command of the floating actions.
* <p>
* This allows NewPipe to show Android share sheet instead of EMUI share sheet when sharing text
* from {@link AppCompatEditText} on EMUI devices.
* </p>
*/
public class NewPipeEditText extends AppCompatEditText {

public NewPipeEditText(@NonNull final Context context) {
super(context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@

import org.schabi.newpipe.util.external_communication.ShareUtils;

/**
* An {@link AppCompatTextView} which uses {@link ShareUtils#shareText(Context, String, String)}
* when sharing selected text by using the {@code Share} command of the floating actions.
* <p>
* This allows NewPipe to show Android share sheet instead of EMUI share sheet when sharing text
* from {@link AppCompatTextView} on EMUI devices.
* </p>
*/
public class NewPipeTextView extends AppCompatTextView {

public NewPipeTextView(@NonNull final Context context) {
Expand Down

0 comments on commit 12934dc

Please sign in to comment.