Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert add-to-app Android screen and fragment pages to use tabs for languages. #3336

Conversation

matthew-carroll
Copy link
Contributor

Convert add-to-app Android screen and fragment pages to use tabs for languages.

@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Dec 4, 2019
setupTabs($('#no-engine-vc-language'), 'io.flutter.tool-id');
setupTabs($('#entrypoint-library-language'), 'io.flutter.tool-id');
setupTabs($('#initial-route-language'), 'io.flutter.tool-id');
setupTabs($('.nav-tabs'), 'io.flutter.tool-id');
Copy link
Member

Choose a reason for hiding this comment

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

rather than repurposing one of these existing bootstrap classes, let's just make a new one so we can make sure everything's clean and we don't affect other things

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Seems like you changed the various tabs themselves to have sample-code-tabs but didn't change the scan here. Can you also change the iOS page's tabs as well to use the new class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is a PR that introduces a new Liquid tag and adds that selector change that I missed:
#3350

@@ -255,6 +291,20 @@ Please see the [instructions for instantiating and starting a `FlutterEngine`].
To use a pre-warmed `FlutterEngine` in a `FlutterFragment`, instantiate a
Copy link
Member

Choose a reason for hiding this comment

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

line 289 doesn't work. I don't think such link exists.

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this branch has
docs/development/add-to-app/android/add-splash-screen
which may be relevant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the link for now.

<div class="tab-content">

<div class="tab-pane active" id="use-prewarmed-engine-java-tab" role="tabpanel" aria-labelledby="use-prewarmed-engine-java-tab" markdown="1">
<?code-excerpt "MyApplication.java" title?>
```java
// Somewhere in your app before your FlutterFragment is needed...
Copy link
Member

Choose a reason for hiding this comment

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

since you called the thing MyApplication.java, you might as well reference it in this sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@xster
Copy link
Member

xster commented Dec 4, 2019

Otherwise content LG

@matthew-carroll matthew-carroll merged commit 0d3fc03 into flutter:staging-add-to-app-do-not-delete-until-2020 Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants