Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@
* android:value="true"
* />
* }
* <p>
* A number of methods in this class have the same implementation as

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be javadocs? I don't think people want to see it in https://api.flutter.dev/javadoc/ right? Maybe split this into 2 parts. Reference the other alternative in javadocs for users and leave a code comment for other maintainers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Made the changes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

* {@link FlutterFragmentActivity}. These methods are duplicated for readability purposes. Be sure
* to replicate any change in this class in {@link FlutterFragmentActivity}, too.
*/
public class FlutterActivity extends Activity
implements FlutterActivityAndFragmentDelegate.Host,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
* regular {@link FlutterActivity} instead, because {@link FlutterActivity}
* is considered to be the standard, canonical implementation of a Flutter
* {@code Activity}.
* <p>
* A number of methods in this class have the same implementation as {@link FlutterActivity}. These
* methods are duplicated for readability purposes. Be sure to replicate any change in this class
* in {@link FlutterActivity}, too.
*/
public class FlutterFragmentActivity extends FragmentActivity
implements SplashScreenProvider,
Expand Down