addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [blrdroid] [blrdroid][Question] Volley with Fragments

From: Sutirth C.
Sent on: Wednesday, July 22, 2015, 1:36 PM
@Aman yep not a fan of fragments had go through the docs deeply.

@Mayo tried your way was not successful in it.

@Deepak Have own custom requirement cannot use another library.

Problem solved. Thnx a bunch for help guys.

On Mon, Jul 20, 2015 at 10:06 AM, Deepak Baliga <[address removed]> wrote:
Hello Sutirth, 

It depends on where you call the volley methods and how many times its getting called depending on the viewpager or whatever your using. I recommend you to use https://github.com/neokree/MaterialTabs this library. This is pretty much easy to use and solved the same problem i had to deal with.


Deepak Baliga,
Freelance Android Developer,
[masked]



On Sun, Jul 19, 2015 at 4:03 PM, MAYO <[address removed]> wrote:

Hi,
Use Boolean variable which can be accessed across the app for the status of that network call.

On Jul 18,[masked]:37 PM, "Aman Alam" <[address removed]> wrote:

This has got to do with fragment lifecycle and you'll have to implement custom measures to protect against it.

--
sent from my Android (Zenfone 2)

On Jul 18,[masked]:06 PM, "Sutirth Chakravarty" <[address removed]> wrote:
I am using Volley in sliding tab fragments for network call. The thing is whenever I switch back to the tab which has gone out of the view the Volley gets call again if I use onActivityCreated and I get duplicate output of same request . Any solution so that network call doesn't happen again.

Regards,
Sutirth




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Sutirth Chakravarty ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Sutirth Chakravarty, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Aman Alam ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Aman Alam, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by MAYO ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about MAYO, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Deepak Baliga ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Deepak Baliga, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

People in this
group are also in: