« first day (2029 days earlier)      last day (2925 days later) » 
03:00 - 18:0018:00 - 00:00

3:36 AM
Yo o/
 
 
1 hour later…
4:49 AM
Morning
 
MORNING
 
5:44 AM
o/ ola
 
6:26 AM
I am facing same issue :
3
Q: How to use Android AppBarLayout, Toolbar and TabLayout with fragments

radzioI have activity with NavigationDrawer and AppBarLayout with Toolbar. Unfortunately when I am using TabLayout in child fragment I see shadow between toolbar and TabLayout. Is it possible display shadow below TabLayout only? I do not want to move TabLayout to my activity because I'm using it only i...

Any idea of cause ?
 
Can you show the XML ?
 
Why is there multiple FrameLayout ?
 
Yes its needed as I am using 3dr party drawer github.com/mikepenz/MaterialDrawer
where one is to show drawer as OLD pattern and nested one as to replace with fragment
 
Anyway! Just one tip, Any direct child to coordinator layout should have layout_behavior set.
 
6:35 AM
Something like
Yes of course
Its there for 1st Fragment layout (parent)
 
Second tip: If you're adding fragment on framlayout, you need to set layout_behavior to fragment layout's parent viewgrup too
 
Else might have overlap issue but I don't have overlap issue at all but just AppBarLayout bottom padding
Yes
 
if you have done what I told, that won't happen.
 
Let I paste XML :)
 
6:38 AM
this android studio keeping cache so i always want to rebuild the project to test new codes :(
 
Have you enabled insta run ?
 
ah let me try that
 
I just have issue with Android 5.1 and 6 :)
Its working fine for 4.X
 
@TheLittleNaruto yes it is enabled and also shows that lightning yellow color symbol. but it doesnt reflect my new codes when i re-run
 
Just do this once, and check if insta-run is working normal: File->invalidate cache/Restart-> invalidate cache & Restart
keep in mind, by doing so, your previous build will be deleted which is in app/build/output/apk/ .
not to worry, you can build it again :P
 
6:45 AM
@TheLittleNaruto pastee.org/hcxpn
 
I need to see more like what fragment you're adding to FL drawer_layout and to FL frameLayout
 
drawer_layout simply adding SettingsFragment which has a TextView.
Is it elevation ?
 
you're referring that gap as elevation ?
 
I have set it to 0 , Still it shows.
Yes might be
 
You didn't tell me about second FL
 
yes, now it is really fast. looks like just care about new codes instead of rebuilding
 
First frame -> I do something like , .withRootView(R.id.drawer_container)
Second FL -> Just simple fragment replace/add
 
mmmm...
 
Did you check uploaded image ?
 
Whichever fragments you're replacing, please make sure they have layout_behaviour set to their layouts
yes I did
 
6:59 AM
Why ? I think we don't need it.
As we have already set behaviour for FL and that should be enough.
 
Like I said before, if you're using CL, any direct child to it should have layout behaviour set.
No, it won't work if you're replacing fragment over it.
 
This is bit odd.
But I dont know how its working fine for < 5.1
 
may be. But that is how it works
 
android:layout_behavior="@string/appbar_scrolling_view_behavior" This didn't work for Fragment.
Set for Fragment which has a TextView.
 
No don't set for that fragment
 
7:08 AM
I really don't want to implement listed solution for this bug.
I mean SettingFragment -> XML - > android:layout_behavior="@string/appbar_scrolling_view_behavior" for PARENT Viiew
 
Scrolling behavior should be set only for layout which has scrollable views/layout
brb
 
But my particular SettingFragment is not scrollable , It has a static content.
Okay
 
trying that library to test your issue...
 
Oh man. Test only if you extra time.
 
don't worry
 
7:15 AM
Thank you.
 
wtf: Receiving objects: 16% (2660/16449), 6.18 MiB | 17.00 KiB/s ?
 
good mornin'
 
too slow... :O
Cpt o/
 
Poor speed :)
 
indeed
 
7:28 AM
Back in hour :)
 
to add a file upload facility to my layout, does user should have a file manager installed? is there a default one so that user can select images when he clicks on a button in my app
 
i think there's one ,aye
if not building one isn't that hard either, you can get almost anything from a directory easily.
 
according to this: http://stackoverflow.com/questions/7856959/android-file-chooser
as i understood, it needs a file explorer to access images in phone. but i am curious about if we can't use gallery browser which is a default one for every mobile.
 
you can make use of the gallery picker
 
http://stackoverflow.com/questions/11144783/how-to-access-an-image-from-the-phones-photo-gallery
I think this is what i seeking for. but not sure if there was a guilty for the user since it needs to launch gallery in users phone. which is they will never would like to do :D
(if it alert and ask to launch gallery)
 
7:45 AM
don't show an alert
show it directly
it'll look part of your app
that's what twitter does
it's not a crime to use the gallery XD
then you handle what they clicked
 
yes, but many of users will not like to give access to their personal gallery i guess. anyway i am trying what you told
 
what they would want to upload instead?
what's the app 'bout?
 
they would want to upload images which will describe what they are publishing to the app
 
uhm
 
\o everyone
 
7:49 AM
show the gallery
there the whatsapp, camera, mail ,etc will show
 
app is similar to a social one, people will publish status with images. ok want to read more about this
 
8:02 AM
o/
so many new people here, welcome, welcome :)
 
thanks cygery, i read all about this room, but can't find shortcodes such as \o. what are they? where i can read about them?
 
\o is a little man sayin' hi.
\o/ here he's cheering
/º\ ooh noes he's falling down!!!!
 
oh got it. it is like a cartoon character :)
 
8:29 AM
is there already a wikipedia article about room-15?
 
don't think so
my coffe was so hot the small plastic vase was almost at melting point
had to put it on a mug
 
o/
 
 
8:44 AM
\o
 
Eric, would you like some plastic mug from the USA with a safety warning? ;)
 
uuhm?
 
Does anyone use Brackets in OS X EI Capitan 10.11.4?
 
@TheLittleNaruto Did you get anything ?
 
brackets?
ooh
 
8:58 AM
Eric, you know those safety hazard warning like "contains hot content" etc.?
 
i did
i did use brackets
then it started to crash
so i switched to atom
ooh we don't have of these here cyg. we know hot things burn, eh @W0MP3R ? XD
 
yes, same. it just doesn't show the previously opened project after wake up. have to quite it twice and reopen then then it automatically show the last project worked on
 
@RonakMehta Just ran the sample. (I went for lunch.)
 
No problem
 
So in sample it's working fine
 
9:02 AM
tomorrow my team could get into playoffs
*_*
we're 4rth and the other team is 5th
and it's the last game of the season
and we're 1 point apart.
nerves
 
Which version ?
 
good, tomorrow i am going to present one line pitch :)
 
Ronak, they're not using CL.
 
Yes I have noticed that but I must have to use to avail some of the features.
 
Ok, let me add CL to the sample.
 
9:07 AM
@CptEric i do have one of those for my tea!! Poundland had good things that day :D
 
ok with CL it doesn't affect UI either.
Now Let's make the FL , nested FL like you did in your code.
 
CL?FL?
 
CL
FL : Frame Layout
:)
CL : Coordinator layout
Eric
LOL
 
XD
 
I am sorry! I am too lazy to write long words. ^^
 
9:16 AM
But Indeed Coordinator layout is too long :)
 
CL didn't affect anything in the sample
I made nested FrameLayout like you did.
It didn't affect either.
 
OMG. Can you install in Android 6.0 If you have.
 
My device is Moto G 1st Gen , 5.1 OS
 
5.1 ?
 
Let me install on emulator.
 
9:21 AM
Then it should show transparent shadow.
 
Lollipop
 
I think I need to check code.
If its working for you then I might be wrong somewhere.
 
This is perfect. Do me a favor.
 
9:23 AM
Can you drop project somewhere I mean DropBox or Drive
 
Well.. Sure I can do!
 
Would be great. Again , Thanks a lot for all your time.
I owe.
 
But Like I said I didn't do anything but just some edit on xml
and in DrawerActivity, I have added this in onCreate():
getSupportFragmentManager().beginTransaction().add(R.id.frameLayout, DemoFragment.newInstance("My Demo Fragment"), "DEMO").commit();
Just that!
 
This is weird. I am doing same.
 
Anyway if You want, I'll Dropbox it to you
 
9:26 AM
Just instead add , I use replace but it does't matter :)
 
well with replace it doesn't get affected either
Just now tried
My office internet is too slow today. :/
 
That I have seen.
No problem.
 
Holy Fuck! The project zip is 70MB
D:
 
70 MB ?
Libs
 
o/ from france
 
Today France ?
Around the world in 365 Days :D
Ahmad
 
Sorry forgot to remove library and other unnecessary stuffs. But I am sure your internet is not that slow. ;)
 
No problem.
You did a lot for me.
Thanks Gaurav
 
No Problem :)
 
Gaurav , Today you are not alone in the queue of poor connection.
 
9:38 AM
Ok... Back to IONIC :'(
 
facepalm
 
10:02 AM
@RonakMehta :D
 
i hate ios development.
it's worse than having a china team.
btw ahmad, told ya @W0MP3R is the one doing those awesome drawings?
just FYI
 
@CptEric wait what?
is that andrea?
:0
@W0MP3R hi!! :D
 
This guy came looking for me on campus because he was on StackOverflow, mentioned he was a UNC student, and someone asked him if he knew me
 
yikes
 
hi!!:D
 
10:20 AM
:D
also lol raghav
 
I submitted a form to server. now i want to show a thank you activity with a button to view submitted resource. i tried with intent, but dont know how to pass that resource id into thank you activity layout
 
lol raghav
question: how i handle clicks on a view, to make sure that the views behind this view, don't catch them?
 
Eric
Are you looking for this ?
9
A: issue in Android Fragment : still click on previous fragment

Emil AdzTake a look at this question of mine: An invisible layout behind the fragment is getting clicked: What helped me in this case and as the accepted answer states is to add the android:clickable="true" property to the top hierarchy ViewGroup of the layout you designed for the fragment on top (...

Magical like : android:clickable="true|false"
 
can't you use sharedPreferences to store clicks for a view?
 
This is not the way.
I never hard to use store views in Shared preference.
 
10:32 AM
yup.
fixed
thank you a lot.
 
You welcome.
 
cowoerker was having trouble with a "view" the client wanted over a listview
(weird clients).
 
Requirements are always unclear and weird.
2
 
this should hang on the walls of room15-corp
 
LOL. Star it !!!
 
11:10 AM
Japan Now Has More Electric Car Charging Spots Than Gas Stations https://transportevolved.com/2015/02/17/official-japan-now-electric-car-charging-spots-gas-stations/
 
itneresting
they won't be a thing in the next 10 years in europe though. too expensive.
 
11:58 AM
I discovered the difference between a motorcycle and a car
 
?
had an accident?
 
lol nope
If you wave to a child in a car, you're a creep. But on a motorcycle? Coolest guy in the world!
 
lol true
time to go home
 
It's funny how the mode of transport changes perception, even though motorcycle riders are stereotyped as more dangerous.
 
12:24 PM
o/
 
12:36 PM
@MaheshGiri Welcome. Please read the room rules room-15.github.io
 
12:48 PM
ok
I have read and understood the rules
 
Welcome
 
1:13 PM
it is friday and time for manygolf.disco.zone
 
1:34 PM
o/ morning room
 
Good morning Adam
 
Today's free book is on Java performance and optimization.
 
1:48 PM
Java EE performance.. I wonder how many springs and beans are in that book
struts too
 
2:12 PM
\o Everyone~~
 
o/
 
2:28 PM
ello o/
 
2:42 PM
o/
 
2:53 PM
working on angular and karma and jasmine tests
no idea what i'm doing
i don't like browser stuff
 
3:22 PM
o/
 
o/
 
3:39 PM
ugh, everyone on my team has a GoogleIO ticket except for me
hoping I'll get an email soon lol
 
downloaded last night :)
Seemed like it could be a good one
 
Sandwich time!! :D
 
3:55 PM
I'm about to leave for lunch and get some Qdoba
It's been about 7 days so I should do that before the withdrawals kick in
 
lmao
If @Ahmad wrote that, it would need another 3% for "they had reimbursements"
Or maybe that would take up the 85%
 
Yeah, I'm thinking more like the 85
 
speaking of hackathons
I'm interviewing with MLH to join their coaches program. \o/
 
great :D
 
4:04 PM
Cool, Mac! disclaimer: I don't know exactly what that means but sounds cool
 
so basically
I travel to hackathons to represent MLH and do all of the MLH things (like setup their table, teach organizers how to rent out stuff from the hardware lab, speak during open/close ceremonies) and be there to help put out any fires if something goes wrong
 
also run mini games like cup stacking, things like that.
my phone won't connect to my watch today idk why but it's pissing me off
 
Need some help regarding Retrofit 2.0
I have created a gist, please go through it. In MyCallback class, onResponse() method not getting called while I am getting JSON response from server.
 
How do you know you're getting a response if it's not being called?
 
4:13 PM
I can see result in logcat
I attached debugger in onResponse() method, also used Log and SysOut to check, but no luck
 
that design seems a little odd, you're wrapping a callback inside of a callback?
what's the point of MyCallback?
 
o/ Carl
 
I created MyCallback to handle where I have to show progress dialog and which API I am calling (using enum) and I want to pass response as success or failure into another interface i.e. RestCallback which is implemented in LoginActivity.
 
backkk
@McAdam331
here's andrea! @W0MP3R
 
4:19 PM
\o back~~
 
wait
that's andrea?
 
I am using RestCallback as interface because I am already extending AppCompatActivity in my LoginActivity and by implementing RestCallback, I will be able to get response(success/failure) easily.
 
yikes
that andrea.
 
ooh.
Nice to finally meet you haha
 
#Users
 
4:21 PM
:|
 
Nice to meet you too :D
 
on that note I'm going out to lunch though o/
 
Can someone point out what I am doing wrong in implementation?
 
Have a nice lunch :3
 
i use eventbus for api things manish,sorry.
 
4:24 PM
any example? how eventbus will help me out in this case
 
uhm
 
x'D
 
@ManishAndroid Retrofit response is convert to java objects as defined in your DataModel
after you got the response, you can put it into bundle and get it form another activity
CptEric, I just finished image picking thing. i let the user to take photos from camera too. any of them are not askign user to allow or dissallow :)
 
4:32 PM
@JanakaRRajapaksha I am getting the response, but onResponse() is not getting called
 
are you getting error like expected begin_array but was begin_object or vice versa
 
@JanakaRRajapaksha no, there is no error in logcat
 
loool
reno you are da best.
 
why you want rest? you can get the response directly from retrofit. it uses OkHttp
there you dont need much code as your gist shows
 
4:45 PM
@McAdam331 Sounds like a good experience for you
now off too lunch
 
Have a nice lunch :D
 
@JanakaRRajapaksha Using RestCallback, I am able to pass response from callback to any class which implements restcallback interface
thats why I am using RestCallback
 
5:12 PM
innapropiate text not seen fast enough
 
@codeMagic I think it will be.
 
fge
So, in Android N, will I be able at last to use the full power of Java, since from what I've heard it will use OpenJDK?
 
I think that's the word on the streets. I heard it would have Java 8 support, but even if they use OpenJDK it should have pretty similar functionality either way right?
 
fge
Well, if they do use OpenJDK then all that is in OpenJDK will be in Android proper
So yes, Java 8, but not only
This also means JSR 203 and JSR 292
 
soo
 
fge
5:30 PM
I'm impatient to see that
And to buy the next Nexus flagship device to experiment, too :p
 
hope it's cheaper than the last one though
nexus 5x and 6 were damn expensive
 
I'm so over this N6
I want a new phone already
 
adam throws money at google
'make devices for me, babe'
 
lol
 
xD
 
fge
5:36 PM
Well, if it's based on the HTC 10, it will certainly be a good device
 
htc devices are the best IMO
 
fge
<-- has a Galxy S7 Edge
 
Is anyone in here familiar with Replicant?
 
although they got rid of the dual speakers which I liked
 
nopie adam :(
 
5:40 PM
nope :(
 
o/
 
\o
 
mauker!!
wazzup
 
Mauker plz
 
heeey
Android Studio just killed my project
out of nowhere
 
5:55 PM
murderer
 
call the police D:
 
woah, you shouldn't mess with AS. you could get murdered yourself.
 
If I wanted to be murdered by an IDE I'd use xamarin
 
lol
 
03:00 - 18:0018:00 - 00:00

« first day (2029 days earlier)      last day (2925 days later) »