Code Monkey home page Code Monkey logo

sugartask's Introduction

Hi there ๐Ÿ‘‹

I'm Matthew Lee, a Full-Stack Developer, good at Android ๐Ÿค–๏ธ

If you want to ask me anything, contact me with [email protected] ๐Ÿ˜„

Looking for a job now ๐Ÿ‘€

็ฎ€ๅŽ† โ€ข RESUME

mthli's GitHub stats

sugartask's People

Contributors

mthli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sugartask's Issues

Exception catch in onBackground?

Hi.

Could you please tell me, how I can delegate Exception from onBackground() to onBroken()?

I'm trying to run method that can throw IOException in onBackground(), but onBackground itself doesn't throw any Exceptions. Try/catch block is useless, because Exception is processed in catch block and SugarTask calls onFinished().

Is onBroken supposed to handle exceptions from functions in onBackground()?

Problem with usage in Fragments inside ViewPager

When using SugarTask in fragments which are accessed with ViewPager, it makes an IllegalStateException
: Fragment has not been attached yet.

This happens when you select a fragment and the next fragment in viewpager is being initialized but not visible because viewpager offscreen limit was set to 1.

So, how to avoid this?

can i only return object , what about list<object>

Hi am trying to use the library, but anything i return list from the background , it seem i can only call object on the onfinish task , altering the return object cause it ~not overiding methods ~ how to fix this

update
it seem i can access class variable from inbackground -- is this logic designed , because am thinking if i access varaible from inbackground wont the it leak if i leave before the inbackground finishes and need to access data

it seem i can access

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.