« first day (698 days earlier)      last day (2777 days later) » 

14:00
or just want the new data to print when u click arrows?
yeah
with swipe and arrows
then u need to use multiple views or fragments i guess
there has to be an easier way
lol, pager adapter is very easy
hm lol
14:04
Cya tomorrow guys xD
bye
bye sensei!
cya naruto
@berserk lol you're my Sensei
sayonara ^^
14:05
bye @TheLittleNaruto :)
@berserk are you also leaving ??
in some time
15-20 mins
wbu?
ok
no berserk is not leaving until I say, wow, it works
I'm jk
14:08
@TheLittleNaruto hi
I kknow :D
He just left @Shweta
hi jk
@berserk hi
lol
hi
lol
hi nisha
14:09
@berserk can u tell me how I can casting for fragment
hi :)
((MainActivity)getContext()).putNumberToEditText(button.getId());
what? O_o
@berserk
@ChintanRathod awake?
14:10
@KalaJ what is your name ?
Explain @Shweta
His name is jk xD
lol
jk ye kesa name hai?
@Shweta clear karo kya puch rahi ho
14:11
@nisha acha nam he
@berserk Actually I am using Activity and find the value in different class using this code ((MainActivity)getContext()).putNumberToEditText(button.getId());
but trying to use in Fragment
hi @X'Factor :)
You want to get activity inside fragment?
yes
Use getActivity() inside Fragment to get activity object.
14:14
@berserk have u worked on dialer application ?
no
u mean call dialing screen?
@X'Factor you are also leaving
@nisha No i m here
:)
ok leaving time
cya
14:26
got to go home now.. bye all
@berserk bye dude..
bye
@KalaJ cya .. will discuss tomorrow..
@X'Factor bye ..
@X'Factor going ?
@nisha No wished to chintam
14:31
ok
ok thank you
cya @ChintanRathod
Me so tired from two days
@nisha Java developer?
Everybody are leaving here?
14:47
hi everyone
anyone can help with minimum triangle paths?
15:11
@KalaJ sorry i have some work, so that i can't help u. r u got it the answer ah?
Anyone do you know how to create Android SDK Project.
Nah I didnt' get the answer. I will try and figure it out
Btw, I saw this talk around recently, Idk if it'll help you
16:04
@KalaJ oh, okay thanks kala, i will check that
16:34
@Gajini Long time, where have you been man? You have become stranger to this room
 
1 hour later…
17:35
@KalaJ u there?
yeah
I think I almost figured it out. Just running into some errors
solve hua?
I am getting a nullpointer exception here
imageView.setImageResource(R.drawable.apple);
code?
sure I'll show you my whole class and you can take a look
one sec
I changed a few thins
*things btw
17:38
kk
17:58
nah same error
show the collection xml
sure one sec
oh wait I kind of figured it out lol
wrong id
for image
so now the view runs
the strange thing is there is ghosting
ghosting?
oh I think it's because some of the view elements are hardcoded in xml?
So like if I go from one view to another
I see the buttons I have on the view stuck on there but some of it moving
It's hard to explain
okay actually I did a strange fix
So, initially I had my android viewpager xml element inside my root element
and it was ghosting
lol okay
18:13
so I made a separate file for it and setContentView for the viewpager and not the root xml element and it seems to work
Thanks Berserk!!
SERIOUSLY THANK YOU!
lol
hehe np
I want to try it with more fragments now :P
gr8, good luck
Thanks
also I have to make the arrows work now lol
its easy
take a frame layout in xml of ur activity
put ur pager and two arrows in it
and use on click listener on the arrows and set page on viewpager accordingly
18:16
yeah I have two images for the arrows right now.
Someone suggested I do setOnPageChangeListener
I guess I'm curious as to how to set the position
yes
u will know the total no of pages right?
The number of pages will vary when once I get the database working
but yes I should know
it'll be a variable for now
Do I set the position in OnPageSelected?
no
when u click back button, use viewPager.setCurrentItem(viewPager.getCurrentItemPosition()-1);
i mean back arrow
when u click next arrow, use viewPager.setCurrentItem(viewPager.getCurrentItemPosition()+1);
and in onPageChangeListener, check the current page number.If its 0, set the visibility of back arrow to GONE, else set its visibility to VISIBLE
if the page is last page, set the visibility o fnext arrow to GONE, else set its visibility to VISIBLE
understood?
yes so actually
I have simple onClickListeners for the buttons
aka the arrows
and I still have to use onPageChangeListener but only to get the position of the current page
something like that
?
18:30
ok thanks I will try it
18:54
sleep time
good night ^^
19:11
I got a vid card...
@berserk, good night :D
19:26
Hey @KalaJ
Hi karl
How are you?
Good. How are you?
Happy now that my server is back up....Took FOREVER to get a vid card..
You had to get a new video card for your server?
What are running on your server?
19:33
It's a file server. Win Serv 2003 Ent.
I was able to get it, it provided a learning experience, so...
cool
I like having it...
19:49
yeah I always wanted my own fileserver when I was younger
now I'm like eh lol
but still awesome
hey anybody have experience with facebook sharedialog on android
20:21
@Berserk, should it be setCurrentItem() or GetCurrentItem()?
@Berserk, figured it out. nvm :D

« first day (698 days earlier)      last day (2777 days later) »