NetworkManager n = NetworkManager.getInstance();
       n.updateThreadCount(10);
        n.shutdownSync();
        n.start();

is this the right way to use updatethreadcount(). as SetThreadcount() is 
now deprecated.
If i use setthreadcount().. app works fine..if i use updatethreadcount() i 
get null pointer exception.

Kindly let meknow how to use updatethreadcount()

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4f3faa30-8f72-4ecc-89b8-bf1bc71b539d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to