question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display only the first page on Android

See original GitHub issue
             <ViewPager
                ref={viewPager => {
                    this.viewPager = viewPager;
                }}
                initialPage={0}
                onPageScroll={this.onPageScroll}
                onPageSelected={this.onPageSelected}
                style={{ flex: 1, marginTop: -24 / ratio_width}}
            >
                <View key={'GameLiveControllerItemJc'}>
                    <JCEventsListView
                        ref={JCEventsListView => {
                            this.JCEventsListView = JCEventsListView;
                        }}
                        navigator={this.props.navigator}
                    />
                </View>
                <View key={'GameLiveControllerItemBd'}>
                    <BDEventsListView
                        ref={BDEventsListView => {
                            this.BDEventsListView = BDEventsListView;
                        }}
                        navigator={this.props.navigator}
                    />
                </View>
            </ViewPager>

Version: react-native: “0.61.0” Problem: The rest of the entries are not shown, show only the first item

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
troZeecommented, Aug 25, 2020

Could you check, if 4.1.1 version fixes it ?

0reactions
AronBecommented, Aug 25, 2020

@troZee I can confirm that 4.1.1 fixes it !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set your homepage and startup page - Google Chrome Help
On your Android phone or tablet, open the Chrome app Chrome . · At the top right, tap More Organize and then Settings....
Read more >
How to display a view only once on application first run?
Use SharedPreference to store a firstboot value, and check in the activity against that value. If the value is set, then the application...
Read more >
Introduce first-time users to your app - Android Developers
To show a first-time user how to get the most from your app, present onboarding information at app startup. Here are some examples...
Read more >
how to change home screen layout and settings for Samsung ...
This video will only focus on Home Screen settings. Widgets and Themes will be in another video.Here you can adjust home screen grid, ......
Read more >
Excel header and footer: how to add, change and remove
Headers and footers are displayed only on printed pages, in Print Preview ... How to make a different header or footer for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found