Giter Club home page Giter Club logo

Comments (3)

prof18 avatar prof18 commented on May 23, 2024 2

Release 2.0.2 is out: a5f41a3
Please update and let me know if there are troubles!

from rss-parser.

varadmondkar avatar varadmondkar commented on May 23, 2024 1

Hey, I have updated version to 2.0.2 and now it is not blocking my UI thread.

Only thing I have to do is, Any UI update which I want to do under
override fun onTaskCompleted(list: MutableList<Article>), I have to do it using runOnUiThread else it throughs exception in override fun onError(e: Exception) that Only the original thread that created a view hierarchy can touch its views.

Thank you for this important update.

from rss-parser.

prof18 avatar prof18 commented on May 23, 2024

Hi, you can execute the parsing with a background thread, as I did in the sample application: https://github.com/prof18/RSS-Parser/blob/master/samplejava/src/main/java/com/prof/rssparser/sample/java/MainViewModel.java#L60

However, for a better usage I'm releasing right now an update that performs the parsing on a background thread, so you don't have to change your code.

from rss-parser.

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.