Android module for android specific logic
bangarharshit opened this issue · 2 comments
bangarharshit commented
One of the most common use cases for tape is to design network requests on android. Android has several constraints such as battery
or network
and can be abstracted out in a very small module (these things can be useful for non-network tasks also).
Do you think if it makes sense to have a very small android specific module (pluggable to add implementor specific logic) to support some of these constraints?
JakeWharton commented
That sounds like a task for JobScheduler which interacts with the queue for
the work it needs to perform.
…On Mon, Dec 18, 2017, 10:28 PM bangarharshit ***@***.***> wrote:
One of the most common use cases for tape is to design network requests on
android. Android has several constraints such as battery or network and
can be abstracted out in a very small module (these things can be useful
for non-network tasks also).
Do you think if it makes sense to have a very small android specific
module (pluggable to add implementor specific logic) to support some of
these constraints?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#184>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEEETDczHFxW8B0t4DP_A7AdG_dz1Pvks5tBy1IgaJpZM4RGZK_>
.
bangarharshit commented
Sounds good.