**** BEGIN LOGGING AT Wed Oct 12 02:59:58 2016 Oct 12 03:23:15 hi, how do people here test in-app purchases? Oct 12 03:23:37 the google doco is a little bit lacking in this area. some areas it talks about static responses, some areas it says publish to an alpha channel first Oct 12 04:41:21 Hey all, I'm having an issue with my recycler adapter where the data isn't showing up when the app loads. When I rotate the device I put the data in the saved instance state and reload it upon fragment recreation so the data is there but it just doesn't show up on the first time around. Could anyone give me a hand if they are available? Thanks. https://gist.github.com/BinaryWaves/45d609de47c56025a3be4cdfe03064b3 Oct 12 05:05:49 anyone on? Oct 12 07:23:37 Hey guys I have a question, in listview, what is the line in between each list called? I am wanting to change the color of it, and I thought it was called divider. Oct 12 07:27:12 it was Oct 12 07:27:43 by xml add android:divider="#FFCC00" Oct 12 07:28:15 I had that, and I had a color, but it doesn't show the divider in the listview.. Oct 12 07:28:42 setDividerHeight() Oct 12 07:28:54 or xml Oct 12 07:29:26 ah I see Oct 12 07:29:30 its not even set Oct 12 07:29:31 ok thanks. Oct 12 07:44:23 Is there a possibility to prevent DownloadManager from deleting all files downloaded through the app if the user uninstalls the app? Oct 12 07:45:33 wrong chan me thinks beatbrot Oct 12 07:45:53 raoul11: What do you mean? Oo Oct 12 07:46:26 mayb im wrong Oct 12 07:47:09 hey fellas Oct 12 07:47:19 anyone ever send images with RetroFit? Oct 12 07:47:26 what number of hell is this? Oct 12 07:47:32 12th stage of hell Oct 12 07:48:37 beatbrot: what bout downloading to the external storage? Oct 12 07:49:16 raoul11: thats what I am doing, however, since lollipop, the downloadmanager deletes all files downloaded by the app at uninstall Oct 12 07:49:32 on external as well? damn Oct 12 07:51:49 Yes :/ Oct 12 07:52:11 I thought about renaming the file after download so download-manager is unable to find it...do you think that could work? Oct 12 07:52:39 external storage suppose to be persistent Oct 12 07:56:19 http://stackoverflow.com/questions/35209375/android-6-0-external-storage-files-being-deleted-upon-app-uninstall Oct 12 07:56:24 Its not :/ Oct 12 08:00:05 the copy+rename solution should be an easy workaround Oct 12 08:05:22 copy + rename? Oo do you think rename would be enough? Oct 12 09:06:53 Is there no "client secret" for application registered in Google? Oct 12 09:10:15 client secret? Oct 12 09:10:39 hi, any insight on how to upgrade adb from Android Debug Bridge version 1.0.32 to the latest ? Oct 12 09:10:52 i tried downloading the SDK but it couldn't work out Oct 12 09:11:37 open sdk manager and upgrade things Oct 12 09:11:52 i have done that too Oct 12 09:12:09 but when running adb version still on the same version as posted now Oct 12 09:12:26 then make sure you're running the correct adb Oct 12 09:12:44 which on is hte correct one ? Oct 12 09:13:03 some vendors are retarded and ship their own (obsolete) adb and often even put it in something like windows/system32 or something stupid like that Oct 12 09:13:21 the one in sdk/platform-tools/ is the correct one Oct 12 09:13:23 oh ok, Oct 12 09:13:28 well im using ubuntu Oct 12 09:13:43 what does `which adb` tell you Oct 12 09:15:33 /usr/bin/adb Oct 12 09:15:46 why do you have adb in /usr/bin -.- Oct 12 09:15:49 silly ubuntu... Oct 12 09:15:55 sad Oct 12 09:16:02 you want to use the one in sdk/platform-tools/ Oct 12 09:16:06 Zharf: yes. I watching a video on how to enable social logins in auth0. The video uses github. But google seems to work in a different way and I can't understand what I need to do to fix my problems with google. Differences are: google doesn't give you a client secret and google doesn't allow you to set the redirect uri. Apparently. I'm asking if anybody knows anything about this. Oct 12 09:16:27 ok, o think i will have to configure the env varialbe Oct 12 09:16:36 Zharf: do you use auth0? Oct 12 09:16:39 no Oct 12 09:16:53 So why did you ask? Oct 12 09:17:17 because your question was vague Oct 12 09:17:44 even in the env variable, android path points to the sdk folder Oct 12 09:17:53 so how do i change that ? Oct 12 09:18:05 afidegnum, sure, but PATH is what determines where things are found Oct 12 09:18:48 Zharf: how do i change the adb path ? Oct 12 09:18:49 Zharf: "client secret" is a specific term, apparently Oct 12 09:19:32 afidegnum, put your platform-tools directory in PATH before /usr/bin ... Oct 12 09:20:32 this is what i have earlier, export PATH=${PATH}:/home/afidegnum/Android/Sdk/platform-tools:/home/afidegnum/Android/Sdk/tools:/usr/share/npm Oct 12 09:21:14 flip it around, do PATH=stuff:${PATH} Oct 12 09:22:44 Zharf like this ? export PATH=/home/afidegnum/Android/Sdk/platform-tools:/home/afidegnum/Android/Sdk/tools:/usr/share/npm:{PATH} Oct 12 09:22:57 missing $ Oct 12 09:23:19 export PATH=/home/afidegnum/Android/Sdk/platform-tools:/home/afidegnum/Android/Sdk/tools:/usr/share/npm:${PATH} Oct 12 09:24:03 try it Oct 12 09:31:27 does anyone know how I can detect changes to a ToggleButton, so I can just save the option immediately? Oct 12 09:31:49 someone uses togglebutton these days? Oct 12 09:32:10 well, it looked like what I was imagining hehe Oct 12 09:32:15 is there a better option? Oct 12 09:32:23 I basically want a setting on/off Oct 12 09:32:24 are you sure you don't want a Switch(Compat)? Oct 12 09:33:09 hmmm, yeah, that looks a little nicer actually lol Oct 12 09:33:26 OK, so how do I detect a Switch(Compat) gets changed then hehe Oct 12 09:34:34 oh, just with onClick="" in the XML Oct 12 09:34:34 https://developer.android.com/reference/android/widget/CompoundButton.html#setOnCheckedChangeListener(android.widget.CompoundButton.OnCheckedChangeListener) Oct 12 09:34:51 onClick doesn't work for all cases, better to use onCheckedChangeListener Oct 12 09:35:09 (if you drag the slider it won't register as a click) Oct 12 09:35:39 we were flabbergasted when we encountered that at work Oct 12 09:35:53 it was unimaginable that someone would actually drag the thing Oct 12 09:35:56 and not just tap it Oct 12 09:38:46 hehe. users Oct 12 09:38:49 you can never trust them Oct 12 09:40:26 so do I call switch.setOnCheckedChangeListener(new OnCheckedChangeListener() {}) Oct 12 09:40:38 where switch is the switch in my layout xml Oct 12 09:41:57 ah, helps if I do it in onCreate() not outside a method Oct 12 09:42:32 Zharf: $PATH Oct 12 09:42:32 bash: /home/afidegnum/Android/Sdk/platform-tools:/home/afidegnum/Android/Sdk/tools:/usr/share/npm:/home/afidegnum/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin: No such file or directory Oct 12 09:44:25 what does `which adb` tell you now Oct 12 09:44:51 /home/afidegnum/Android/Sdk/platform-tools/adb Oct 12 09:45:14 i think that's the correct path Oct 12 09:45:26 but what about the error? Oct 12 09:46:45 and how do i remove the previous adb at /usr/bin/adb ? Oct 12 09:47:04 omh, making some stupid mistakes now, it's been a while since I was making new activities Oct 12 09:47:58 afidegnum, the error is because you used $PATH as a command Oct 12 09:48:11 afidegnum, next time use "echo $PATH" Oct 12 09:48:58 ok Oct 12 09:50:01 cool, got that working thanks Zharf Oct 12 09:50:44 sdousley, heh Oct 12 09:51:22 it's not storing the value, but good ol' Toast tells me it's working as I wanted Oct 12 09:51:43 shoudl I say I've not toold the app to sore it yet, but just toast chcked or not. Oct 12 09:52:03 Sorry for that swful typing. Typing with an apple in hand isn't easy it seems Oct 12 09:52:16 ha Oct 12 09:52:39 swful... lol just to prove a point (unintentionally) Oct 12 09:56:24 Zharf: what would I use in the circumstance I want 3 options? Kinda like a