Coder Social home page Coder Social logo

Comments (7)

25RBazookas avatar 25RBazookas commented on August 11, 2024

crashes on canvas.DrawRect(paddingLeft, height - underlineHeight, tabsContainer.Width + paddingRight, height, rectPaint); //This line crashes

It seems that Paint rectPaint; is disposed on the moment that the OnDraw method is called.

from pagerslidingtabstrip-for-xamarin.android.

25RBazookas avatar 25RBazookas commented on August 11, 2024

Had crash on Nexus 5 (Android 6 ) and Samsung S7 Edge (Android 7)

from pagerslidingtabstrip-for-xamarin.android.

jamesmontemagno avatar jamesmontemagno commented on August 11, 2024

Do you have a small sample to look at?

from pagerslidingtabstrip-for-xamarin.android.

jamesmontemagno avatar jamesmontemagno commented on August 11, 2024

Also, this library has now been deprecated by the new Android Support Design Library. Please see the full component for a sample: https://components.xamarin.com/view/xamandroidsupportdesign

from pagerslidingtabstrip-for-xamarin.android.

25RBazookas avatar 25RBazookas commented on August 11, 2024

Hello James
I will make a sample project which I will provide in the following days.

My app crashes if I return from an activity to the activity with the pagerslidingtabstrip. I suspect that the GarbageCollector will be a problem here.

I've tested your sample and it does not crash even if I open multiple activities. I'll keep you posted.

from pagerslidingtabstrip-for-xamarin.android.

troyanas avatar troyanas commented on August 11, 2024

Issue still exists

from pagerslidingtabstrip-for-xamarin.android.

jamesmontemagno avatar jamesmontemagno commented on August 11, 2024

This library is deprecated and not being updated: Use: https://components.xamarin.com/view/xamandroidsupportdesign

from pagerslidingtabstrip-for-xamarin.android.

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.