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 ๐
Android lifecycle safety task with sugar code style.
License: Apache License 2.0
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 ๐
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()?
how to restart the whole in the background thread
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.