« first day (515 days earlier)      last day (971 days later) » 

4:18 AM
AssalamuAlaikum @SilentKiller
Subha AlKhair :)
 
4:38 AM
aju ?
 
1 message moved from Smart Developers' Lab
 
@SweetWisherツ Walaykumassalam. Subha al khair.
 
@SilentKiller HWs ya ?
 
fine and you ?
 
Fine shine ;)
 
4:48 AM
doog. what doing ?
 
wrk wrk
u ?
lolzz
 
5:44 AM
bck @SilentKiller
 
@SweetWisherツ top
 
@SilentKiller veryyyyyyyyyyyy late :P
 
6:36 AM
huh
 
6:54 AM
@SweetWisherツ i am. ;)
 
7:34 AM
@SilentKiller huh
 
7:59 AM
@SilentKiller i want that whatever items are selected, it will be by default selected next time
mean want to cache user's selection in list
do i need to use global var's to achieve this ?
or SP ?
which is preferable ?
brb Lunch @SilentKiller
 
8:31 AM
back @SilentKiller
 
@SweetWisherツ kya karna hai ?
 
33 mins ago, by SweetWisher ツ
@SilentKiller i want that whatever items are selected, it will be by default selected next time
mean want to cache user's selection in list
apne wo app dekhi thi na, mene di thi
 
@SweetWisherツ arraylist me data kaha se aata hai ?
 
@SilentKiller arraylist he global waha se
@SilentKiller position dal du SP me ?
 
@SweetWisherツ yups boolean variable.
 
8:40 AM
@SilentKiller why bool ?
 
@SweetWisherツ selected or not.
sab ki alag alag arraylist hogi na re.
 
@SilentKiller ha pr konsa selecetd he wo b to chahiye na
ek j array he :P
usme dusri 3,4 array he
 
a6a position rakh do. pr boolean se ho jana chahiye. :P
 
how bolean will give me postion re :/
 
are u position me karlo
 
8:43 AM
hmm whi krti hu
pr i have mutliple selection :/
bakwasss
 
tabhi kaha array<String> hai ?
 
@SilentKiller Kya ?
array<Int> / string with comma separated values,
whicuh one better ?
string with comma separated values already kia hua he to pass data i bundle
 
custom object int,boolean ka wo best option but usme bahot change aaega
 
nhi kr skti change abhi
aaj relase he n ab itna sara chng nhi :/
ek aur issue he
list ki sari item select krkr next jate he tb sara pass hota he
us cse me ANR aarha he
so ye issue *comma separated values * se to nhi hoga na ?
 
@SweetWisherツ ek alag arraylist manage karlo. sab dialog ki alag alag
 
8:51 AM
nhi samaj aarha
me abhi code copy past h kr rhi hu
 
are kitne dialog hai jisme selection dena hai ?
 
mene already bundle me pass krwane k lie string me positions dali hui he
@SilentKiller 5
 
@SweetWisherツ 5 ki alag alag arraylist lelo position selection ki.
 
global ?
 
yups.
 
8:56 AM
koi prbmnhi aayega ?
ANR solve ho jayegi kya usse ?
 
ANR aaegi hi kyu ?
sp me data lene jaega hi nahi kyu ke use global set kardo to waha se hi get karne ki and waha par hi set karne ki so ANR me nahi jaega.
 
GC k wjah se wo aray null ho gai to ?
 
hahahah
flag on
3 mins ago, by SweetWisher ツ
see, jo select krenge wha se next hoga to wo sara data pass krwa rhi hu me
all positions
n At that time ANR aarhi he


n pass krke set krwane ka jo logic he whi abhi me SP me kr rhi hu t maintain last selected itmes
@SweetWisherツ some one crazy for your mrg
flag
 
@NitinGohel i knw
 
@NitinGohel crazy and coward too
 
9:05 AM
:P
 
@NitinGohel nd msg mrg :P
hehe then Fine :)
 
so back to issue nw :P
 
6 mins ago, by SilentKiller
sp me data lene jaega hi nahi kyu ke use global set kardo to waha se hi get karne ki and waha par hi set karne ki so ANR me nahi jaega.
 
you carry on
 
9:07 AM
6 mins ago, by SweetWisher ツ
GC k wjah se wo aray null ho gai to ?
@NitinGohel u can also help ;)
 
you want selection after app close and again start ?
 
no it wont.
 
@SweetWisherツ i dont know android
 
@SweetWisherツ then you must store data in SP.
 
9:08 AM
for any launch
@SilentKiller (Y)
Now need to chk ANR
 
you can show dialog till you load data. so ANR won't appear.
 
@SilentKiller are, it comes while passing data
wanna chk app ?
 
@SweetWisherツ show code.
 
9:40 AM
@SweetWisherツ welcome back
 
@SilentKiller :)
 
@SweetWisherツ say now.
 
need to break code. its fecthing thousands of data
 
no need of those.
you just call your data in asynctask.
code which you showed that will work on single thread as you had used runonuithread.
 
10:23 AM
not wrkng
reverted all changes
 
but i told you to show code.
 
Itz tooo mcuh complicated yar
@SilentKiller itz 3 files
 
you should just do in one and then we can try with others./
 
:(
itz 3 fragemtn in one activity
passed data will be set in one frg
 
where you're getting ANR ?
while receiving data you shoud show dialog using async task noting else
 
10:27 AM
after dat, based on dat data, will set data in frg2 amn 3
@SilentKiller i Did it... then also other frg's data dint loaded
everythng blank
 
all will not be visible at a same time you can go with asynctas when it come
 
nd the very 1st frg is invisble in mobile, it directly shows 2 frag
@SilentKiller in tab, all vl b visible at the same time
 
@SweetWisherツ when you done with UI before return fragmentView; call asynctask where only set data will be showen
@SweetWisherツ showDialog from Activity method will be all top iin fragments.
like showDiloag method will be in Activity u'll just call it from Fragments.
 
so it will remain on top always
 
10:29 AM
leave
m doing nothing now
 
OKIE @SilentKiller
 
take rest of 5 min and think full process again.
 
nops :/ @SilentKiller
 
@SweetWisherツ yes you'll have to.
@SweetWisherツ okies first take bit rest then go with other tasks.
 
10:34 AM
@SilentKiller hmm only one task pending, when we change frg from nav drawer, it takes time to load UI though header changes immediately.
 
@SweetWisherツ because you were fetching and assigning data on onCreateView method with out using AsyncTask. :P
 
areeeeeeeeeeeeee
 
what ?
 
@SilentKiller it has pager :/
frgm inside frg :@
 
@SweetWisherツ but why don;t you use async task to load data ?
okies :P
 
10:43 AM
want coffee ?
 
yups
come and give. :P
 
huh come n take :)
 
pick, come and give. :P
 
huhuhhu
 
10:49 AM
:P
ki hoyo
 
@NitinGohel kone O_O
 
when will u leave ? @SilentKiller
 
not decided.
 
loader not cmng :P @2s
 
11:03 AM
what ?
 
in async
progressDialog = ProgressDialog.show(getActivity(), "", "Fetching Curriculum and Group data...");
 
code pls. :P
 
OKies.Waitsss
here it is
@SilentKiller seen ?
in any case, it's not shwing,
i debugged, it execute that code
 
11:38 AM
@SweetWisherツ waito bit busy.
 
@SilentKiller np
 
@SweetWisherツ progressDialog declare kaha kiya hai ?
 
12:05 PM
@SilentKiller maiun class me sb se upar
 
use asynctask me daldo. each for different.
 
okies
got one crash
 
12:44 PM
drafting release mail @SilentKiller
 
1:01 PM
@SweetWisherツ done ?
 
@SweetWisherツ how much time ??
 
@SilentKiller done
@SilentKiller @SilentKiller
OKies @SilentKiller
 
1:18 PM
@SweetWisherツ Allahhafiz. :)
 
@SilentKiller AllahHafiz
 

« first day (515 days earlier)      last day (971 days later) »