« first day (583 days earlier)      last day (1124 days later) » 

05:22
@PiyushMishra hello bro
05:46
hello
how r u?
yah fine, what about you
@PiyushMishra: fine.bro.. have idea on https://applovin.com/about
?
add promoting site
no idea
never worked with them
05:50
just go through with their documents
and you will get the idea
thanks bro
@MAC: there>
06:12
hi
@PiyushMishra
i am trying to implement FragmentPagerAdaper
In the fragment getitem function want it to go to different layouts but it is giving me error
Type mismatch: cannot convert from Info to Fragment
where info is my class
pls can u help me
can you show the code ?
 
2 hours later…
08:47
Hi guys, I think I'm making a fundamental mistake with the expandable list adapter declaration, while adding children dynamically. so i get a nullpointer exception.
went through a lot of tutorials . but all in vain.
anyone up for helping this poor guy?
show the code
0
Q: Adding dynamic children to ExpandableListView (as records are added)

user2468835I need to dynamically add children to expandable list view. AFter i add my record in addshare activity, i go to another activity(dynamic1) passing a String object. Over here i add the new record with the String object as parameter, and pass intent back to MainActivity. investment_summary_main.xml...

put a log you are not getting anything inside string s
yeah ? so my adapter declaration seems right then?
i'll try to add a String object manually and see. instead of string s then.
09:00
hi all android developers
have any one worked on facebokk integration with Tab
@Rauf sadly no
@PiyushMishra I tried a manual string. same issue. same line error :(
((parent)adapter.getGroup(1)).getArrayChildren().add("john"); causes the issue
so definitely problem with the damned adapter. sigh :S
see this thing will not work first you need to understand it how expandable listview work
you need one string with substrings in it
you can create your own adapter for that
ohkay. could you elaborate that?
I don't understand why i need a string with substrings.
damn you adapter
09:11
expandable listview have one main string and when you touch on it a list will drop
so for every main string you need a list of string
you can go through with api demos
damn you piyu :P
But I already have a default expandable list view up.which works fine. This code just adds an extra record into it when required.
:P
((parent)adapter.getGroup(0)).getArrayChildren()
you dont have any child where you are adding this string
just put a log for this and you can see null
stupid child.. y u NO THERE ??
there are tons of samples are available on net download it and see their code. or best you can see the api demo code.
09:16
ohh! I understand now. yes, it does show null. But How do i create this new child now. Because that's what i basically need to do. adding a new child.
i've searched for a lot of tutorials. they explain expandable list views properly. but i can't find any dynamic implementation of the expandable list view.
list itself mean dynamic
they are not using array
ohh. But in my default expandable list the children and groups are hardcoded in the beginning.
yes hardcoding doesn't mean its not dynamic.
its just a data when you increase the data or just add into the list it will reflect there
so how dynamic you want your list will be it depend upon your data you are providing to the list
I get that. by dynamic i mean, i add the child upon some click of a button,say when the emulator is up.
you can do all this things in a loop not a big deal right
09:21
hmm. yeah. will give it a go.
09:45
is there a setting in android which prevents ftp connection?
i'm trying to connect to ftp using ftp_connect('ft.domainname.com') but that is throwing Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed

« first day (583 days earlier)      last day (1124 days later) »