« first day (1548 days earlier)      last day (2435 days later) » 

03:04
Good morning
03:35
GM
@NightFury there is a fragment i have shown a dialog fragment on click of menu icon ..now once user click on button of DialogFragment i want to get data in my fragment so will i use onActivityResult or will make listener to pass information ?
nope. get fragment from fragmentmanager and get information in it.
but i already dismiss that fragment dialog so how will i get information ?
then get fragment from fragmentmanager and set public property in it.
fragmentManager.findFragmentByTag("main") as yourFragmentClass
9
A: Does anyone know new features of Xcode 9?

Kirit ModiYou can download : Xcode 9 1. All New Editor : Smooth rate at constantly , No matters the file size. Preferences thats give the better control over the line spacing and multiple font style. you can commit multiple change in a single click thats issue is redesign. 2. Refactor and Transfor...

i showed dialog fragment like this ? FragmentManager fm = getChildFragmentManager();
FilterFragment filterFragment = new FilterFragment();
filterFragment.show(fm, null);
so now when i dismiss FilterFragment then how will i get data in fragmentA
@nyconing
03:43
fragmentManager.findFragmentByTag("main") as yourFragmentClass
.argrument.get()
.yourOwnProperty = INFO
nahi
it will not work
its work.
why fragmentManager ??? will i use childFragmentManager ?
you may do something wrong
in which method will i get data ?
03:45
depend on your structure
I only given solution, you need to convert solution to fits your structure
but @nyconing after dismiss dialogfragment none of the life cycle methods of my fragmentA gets called
note that whatever dialogFragment or fragment is also a managed fragment in your fragmentManager
just obtain your fragment in your fragmentManager
@Erum dialogFragment must pass data before dismiss
val mainfragment = fragmentManager.findFragmentByTag("main") as yourFragmentClass
mainfragment.argrument.put()
mainfragment.method()
mainfragment.property = whatever
this.dismiss()
this is kotlin pseudo
04:01
Fragment fragment = getChildFragmentManager().findFragmentByTag("Filter");
Bundle bundle = new Bundle();
bundle.putStringArrayList("indicesList",new ArrayList<String>(csIndices.getSelectedItemList()));
bundle.putStringArrayList("sectorList",new ArrayList<String>(csSector.getSelectedItemList()));
fragment.setArguments(bundle);
dismiss();
see like this
@nyconing
seems good.
but Filter fragment does know when dialog is closing?
no
so which method will get called when i dismiss dialog
?
filterFragment fragment = getChildFragmentManager().findFragmentByTag("Filter") as filterFragment;
fragment.yourOwnmethodToLetFragmentKnowDialogIsNowClosing();
or
`fragment.refreshData()`
i m not getting u @nyconing
//cast to actual fragment class
filterFragment fragment = getChildFragmentManager().findFragmentByTag("Filter") as filterFragment;
Bundle bundle = new Bundle();
bundle.putStringArrayList("indicesList",new ArrayList<String>(csIndices.getSelectedItemList()));
bundle.putStringArrayList("sectorList",new ArrayList<String>(csSector.getSelectedItemList()));
fragment.setArguments(bundle);
//let know dialog closing
fragment.refreshData();
//or
fragment.ahTheDialogClosing();

dismiss();
04:15
i have to refresh data in fragmentA
@nyconing
Good Morning
morning
guys, can someone please help me
0
Q: Display html element from JSON object on ionic App

damniatxI have been trying to embed html element from JSON object, and It is currently displaying the html as raw code instead. Can someone please help me ? detail.ts this.questionsData[i].question_type.title = "<ion-input type=\"text\" placeholder=\"Short answer\"></ion-input>"; detail.html <ion-...

04:38
@Erum callback
Good morning all :)
yes @NightFury thanks i was asking same
i did it using callback
04:56
ok
05:06
gm all
Good Morning @all
good Morning @Anbu.Karthik @NightFury @Dory @Dhruv @FranciscoMelicias @Kamini @Mayur @NightFury @RituNagpal @RicardoAlves @Shubhank @snehalrokade @SagarBhut
Gm
Good Morning
@Dhruv hello bro
05:23
good mornin
hello
@Dhruv ok
yeah say, your issue resolved ?
@nyconing good morning
@Dhruv no bro
i am still struggling with that
so whats the progress ?
05:30
Morning
Hello everyone
@Dhruv ashishkakkad.com/2015/02/… i have followed this link but not able to do.
@Dhruv is it possible to give me sample code
okay, but what you got ? how much you tried ?
Firstly i have taken a to implement this as a sample project not in my project.
i have taken search controller and tableview @Dhruv
:/ sample code is already there on site
what more sample you want ?
Then i installed cocoa pods Alamofire successfully in sample project
@Dhruv u can give my mailing me the same sample project the link which i forwarded u using textfield ?
05:37
need guidance for watch kit app .
@DilipTiwari what ?
@Dhruv is it possible to give code using textfield only.
So, do one thing.. I can't code anything.. Do one by one, first try to implement the autocomplete
then implement google places api
ok @Dhruv
if let status = result["status"] as? String
i am getting error in above line
using swift 3 @Dhruv
if let status = result["status"] as? String
error coming type 'any' has no subscript members
meowmeow
05:55
@DilipTiwari seems like you're missing something. I mean result has something different format
@DilipTiwari u need to cast variable result to Dictionary type.
@Hiren @Dhruv how
how to resolve this error
try this let newResulte = result as! [String : AnyObject]
@DilipTiwari use this if let status = newResulte["status"] as? String
@Hiren in the following also error coming
if let predictions = result["predictions"] as? NSArray
how to resolve this
@Dhruv tell
06:19
if let predictions = result["predictions"] as? [[String: AnyObject]]
try this
@Dhruv same error
strange...
/awake kamini
strange..
hmm...
strange to hai hi
/awake kamini
06:23
@Shubhank I am awake!
so strange :p
rhene de
pta hai
haha
how are you
/suspend kamini
@DilipTiwari what kind of data you getting in result ?
06:23
@RituNagpal Affirmative, proceeding to standby.
/awake kamini
@RituNagpal Bot Awaken
haan... i am good
what abt u ?
me good
now error resolved @Dhruv
06:25
cool
thank god @DilipTiwari
@RituNagpal still i am working on autocomplete textfield
despicable me 3 released :o
hehehhe
@Dhruv
06:29
:D
dont know how much days more
:P
ok @DilipTiwari good luck
thanks @RituNagpal
but i got the correct link now and that i am using in my project @RituNagpal github.com/mnbayan/AutocompleteTextfieldSwift
yup cool
copy and paste
06:44
@Shubhank 😺😸
07:04
@Dhruv hiii
yeah
08:19
@DilipTiwari
github.com/mnbayan/AutocompleteTextfieldSwift @Dhruv bro i am follwing this link it only show textfield search but not search location
okay, now that you've implemented this
you can add that google places api. and whatever response you get
pass that array to be filled in here
how about it ?
not getting @Dhruv
@Dhruv?
AOA, HI @All
ha, so did you try to implement places api ?
08:47
/hangman
 +---+
 |   |
 |
 |
 |
_+_
- - - n - - - -
/hang a
 +---+
 |   |
 |
 |
 |
_+_
a - - n - - - -
/hang t
 +---+
 |   |
 |   O
 |
 |
_+_
a - - n - - - -
08:48
i need help with my question here - stackoverflow.com/questions/44307777/…
/hang c
 +---+
 |   |
 |  \O/
 |
 |
_+_
a - - n - - - -
Hangman hint : the kick ass team
/hang r
08:48
 +---+
 |   |
 |  \O/
 |
 |
_+_
a - - n - - r -
/hang p
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
a - - n - - r -
/hang l
 +---+
 |   |
 |  \O/
 |   |
 |  / \
_+_
a - - n - - r -
Game over.. The word is avengers
@Forge you deleted your answer
 
1 hour later…
10:17
everybody sleeping
@SaadChaudhry oye
10:33
@Shubhank thanks for response, yeah not sure it's correct
what problem are you facing
posted on June 15, 2017 by Johann

Gagat is an open source Swift UI component from Boerworz providing an interactive transition allowing you to switch between two different themes. The user drags on the application using a two finger pan to switch between the themes. The idea was that the user would switch between night and daytime themes. This animation from the […]

10:58
i'm not sure if iboutlets can be nil in viewwillappear @Shubhank
@Forge are you sur you are launching the instance from the storyboard instance
yes, pretty sure there is no other way @Shubhank
ok
you should add a exception breakpoint @Forge
11:14
i'm not able to reproduce the failure @Shubhank, it only happens in production and i have the crashlytics log
that will point to properly
okay
only in production
and crashlytics shows nothing ?
everyone busy watching cricket ?
@Shubhank not really
here it is
Crashed: com.apple.main-thread
0 MyApp 0x1001080a0 MyViewController.viewWillAppear(Bool) -> () (MyViewController.swift:135)
1 MyApp 0x1001080d0 @objc MyViewController.viewWillAppear(Bool) -> () (MyViewController.swift)
2 UIKit 0x18868bbf4 -[UIViewController _setViewAppearState:isAnimating:] + 632
3 UIKit 0x18868b964 -[UIViewController __viewWillAppear:] + 156
4 UIKit 0x1888101d4 -[UINavigationController _startCustomTransition:] + 1144
MyViewController.swift:135
this must be some outlet ?
can you re produce it every time in production build?
@Shubhank no, didn't manage to reproduce it at all
yes, it's a an outlet in line 135
code is

@IBOutlet weak var someConstraint: NSLayoutConstraint!
@IBOutlet weak var button: UIButton!
let minHeight: CGFloat = 2.0
let cValue: CGFloat = 32.0

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

let aValue = button.frame.origin.y - UIApplication.shared.statusBarFrame.height
let bValue = button.bounds.height + minHeight
someConstraint.constant = max(aValue - bValue, cValue) // --> Crash here, line 135
}
11:42
if its a random crash
i would let it go
check it if it occurs 2 out of 10 sessions at least
@Shubhank yup
sorry was in meeting
it happens quite often so must fix it :-/ @Shubhank
12:14
anyone ever tried heroku?
meow
@SaadChaudhry do you know anyone with any experience with Elastic Search on Heroku for Firebase database?
I am so screwed right now
@BugsBuggy lel
who gives heroku for a internship
@Forge what are the number of reported crashes
12:29
what problem are you having
Shubhank do you know how can I can get unscrewed?
MY WHOLE LIFE IS A PROBLEM
@Shubhank ~100
@Shubhank I'm following this
But there they are creating a new app
I need to configure flashlight kinda feature on an existing project
Because I do not have a credit card I am poor poor man
@Shubhank
12:42
watch the match :p
@Forge ohh will check
give me 5 min
hi
i want to thumbnail path from video
android
any one know that?
Wish I can get Help from iOS devs : stackoverflow.com/questions/44544669/…
@Forge hello
@BugsBuggy why don't you use my account ?
hey @Shubhank
have you tried checking the crashes log
which os does it comes in
and device segment
that might help in filtering
12:56
@Shubhank
wassap
abe kaisa hai
ho aaya
han aaj ee aya
subha or saman ghar rakh k office :P :D
hain o_O
ghar mein b rest ee kerna tha :P
u tell
12:58
meowmeow
/rule2
> Use only english for conversation. Use of other languages can lead to banning you from the room.
:D :P
13:03
> Use only english for conversation. Use of other languages can lead to banning you from the room.
okayy
how are you @FranciscoMelicias
fine and u @Shubhank ? :D
i am good
 
1 hour later…
14:26
@Shubhank how to do that?
 
3 hours later…
17:06
posted on June 15, 2017 by Android Developers

Posted by Wayne Piekarski, Developer Advocate for IoT Today, we're releasing a new Developer Preview 4.1 (DP4.1) of Android Things, with updates for new supported hardware and bug fixes to the platform. Android Things is Google's platform to enable Android Developers to create Internet of Things (IoT) devices, and seamlessly scale from prototype to production. New hardware A new Pico i.M


« first day (1548 days earlier)      last day (2435 days later) »