« first day (1193 days earlier)      last day (2282 days later) » 
00:00 - 14:0018:00 - 22:00

6:11 PM
@TheLittleNaruto I am online
 
@rekire Thanks
I have a situation.
I can do it, But I want to know if there is better way.
I'll share a screenshot
Wait.
@rekire Check WhatsApp for Screenshots
The data you are able to see is a Driver info.
 
I see and now?
 
So you can see, there is an edit button on top, once you click it, the data will be editable.
 
ok
 
Once you click on Edit An API is called, which gives me city list and against each city available operators, which I am showing as dropdown i.e. Spinner.
So it works this way: You select a city, it updates operator spinner against that city via its city ID.
 
6:19 PM
kk
still go on
 
And there are two more dropdowns one is for Vehicle Type and Vehicle Model
SO, Now once you select a cab operator, it calls an api for fetching available vehicle types against selected operator and selected city.
So vehicle type has dependency to Selected City And Selected Operator
 
I want to quote monkey island: "I have a tip for you come to the point". ;-)
 
Now again you select a vehicle type, it'll call an API which will return list of models against that selected vehicle type, selected operator and against selected city
So vehicle model has dependency to Selected Vehicle Type & Selected City And Selected Operator
Now here is another thing, that I missed.
 
That 3 level dependency is surprising me. I would expect no dependency on the operator
 
Hmm
But it is there.
 
6:25 PM
however go on
 
The response from server I am getting from each cases are actual record. And I had to add an item to each dropdown which is nothing but showing a text "Select"
as its first element.
these things made my code abusive.
I just messed everything up!
 
hi everybody
 
Also at the same time there can be negative points like: A user change a city, change operator, change vehicle type, change vehicle model.
And again he changed city but forgot to change other things.
And now he pressed update button. Data will be updated but they'll be relatively wrong.
 
but my listview dont scrolled
I have a listview inside of NestedScrollView
 
This is major flaw of this 3 level dependencies.
I am not sure how would I make my code look much better and clean.
@zohreh Why would you put a ListView inside NestedScrollView ?
 
6:34 PM
okay I see, well I would use a change listener for each of the three spinners which does the same: loading the new car list
 
change listener? you mean existing one in the API i.e. setOnItemSelectedListener ?
 
right
 
I have a listview inside of NestedScrollView
 
this is strange normally a nested scroll view didn't break anything
 
That's what I am doing. But My code is looking so ugly. Also that flaw I am not able to rectify.
 
6:41 PM
tv?
preferred via wa
 
@rekire Yes
:28740162 Home town ?
 
@TheLittleNaruto nearby
 
I need appbar_scrolling_view_behavior.I have a frameLayout that my fragment replace in it .I set appbar_scrolling_view_behavior to it but it dont work and then I place frameLayout inside a NestedScrollView and set appbar_scrolling_view_behavior to NestedScrollView .now it work but I have a listview inside fragment and it dont scroll.@TheLittleNaruto
 
@rekire Looks beautiful
 
I need appbar_scrolling_view_behavior.I have a frameLayout that my fragment replace in it .I set appbar_scrolling_view_behavior to it but it dont work and then I place frameLayout inside a NestedScrollView and set appbar_scrolling_view_behavior to NestedScrollView .now it work but I have a listview inside fragment and it dont scroll.@TheLittleNaruto
 
6:47 PM
@TheLittleNaruto I need to upgrade I was on v9
 
Yeah I can wait.
 
I need appbar_scrolling_view_behavior.I have a frameLayout that my fragment replace in it .I set appbar_scrolling_view_behavior to it but it dont work and then I place frameLayout inside a NestedScrollView and set appbar_scrolling_view_behavior to NestedScrollView .now it work but I have a listview inside fragment and it dont scroll.@TheLittleNaruto
 
@TheLittleNaruto I cannot find the chat window
 
Naruto you're on here so much
 
7:41 PM
@zohreh I want to see the layout which has got ListView
@RileyCarney Yea! 'sup ?
 
@TheLittleNaruto I dunno just saying
 
I mean what are you up to ? lol
 
7:57 PM
Stalking your LinkedIn
TopKek
 
XD
Are we connected on LinkedIn already ?
was wondering...
 
Nope, I never use mine yet
Mine is "well so yeah.... I haven't graduated and I have no experience in the field, hire me"
 
That's pretty impressive profile.
wait.. what ?
You haven't graduated yet ?
 
Haven't graduated college
 
What's your subject ?
 
8:08 PM
Mathematics
Not even going into computer science but it's fun to do :)
 
It is.
Maths is fun too.
 
I had liked it in my schools.
 
Yeah it's a fun class
 
there you go!
 
8:16 PM
As you can see, I have no connections
lol
 
There are 8 already.
 
well I mean little
 
8:42 PM
hmm
Alright I am going to sleep.
Gn Riley
 
9:10 PM
gn
 
00:00 - 14:0018:00 - 22:00

« first day (1193 days earlier)      last day (2282 days later) »