Coder Social home page Coder Social logo

Comments (5)

cristea2017 avatar cristea2017 commented on June 14, 2024 2

you should try https://github.com/Flipkart/recyclerlistview
with this you can use multiple ads 100%

from react-native-admob-native-ads.

ammarahm-ed avatar ammarahm-ed commented on June 14, 2024 2

@paddy57 @Jean-Kenned There must be something you are doing that is causing that, I have tested the ads in a FlatList by loading more than 100 ads at once and I saw no frame drops. It was working perfectly, make sure you are on the latest version of this library when you test. Also you can try this in the example app inside this library. However I will test this again. @cristea2017 +1 to that too.

from react-native-admob-native-ads.

ammarahm-ed avatar ammarahm-ed commented on June 14, 2024 2

This has been fixed. Try the latest release, v0.3.6 @paddy57 @Jean-Kenned @cristea2017 @samuely4ng try the example in the project. Now i have added full example for all use cases.

from react-native-admob-native-ads.

samuely4ng avatar samuely4ng commented on June 14, 2024 1

@cristea2017 +1 to that. In general you shouldn't use FlatList (for anything) if recyclerlistview is an option.

from react-native-admob-native-ads.

Jean-Kenned avatar Jean-Kenned commented on June 14, 2024

I 'm having the same problem now, I have been tried to follow tips about FlatList performance like setting windowSize, maxToRenderPerBatch and removeClippedSubViews props, but the performance in FlatList is still slow. Furthermore, I already tried to use all the solution mentioned in facebook/react-native#13413 but anything works effectively in this case. In fact, I noticed that decreasing the frequency that ads are shown increase the performance, but it is not an option for me. Any help?

from react-native-admob-native-ads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.