**** BEGIN LOGGING AT Sun Nov 13 02:59:59 2016 Nov 13 04:17:11 I'm trying to import a github project into android studio, I setup and tested my github account in the preferences and it works Nov 13 04:17:46 but when I try to test or actually clone the repo, I get an "Authentication failed" message Nov 13 04:18:47 any idea what this might be? Nov 13 04:19:10 Yes, your not authenticated. Nov 13 04:19:22 You can clone it from the command line, it does the same thing. Nov 13 04:21:41 :\ woops I tried cloning from the command line and also fails. Double checked my password again, not sure what's going on. Nov 13 04:58:52 doh since I'm using two factor auth I needed to make a personal auth token for github Nov 13 07:05:33 For some strange reason, when I do a Games.Achievements.unlock(), the achievement doesn't get unlocked and doesn't show up in my game's panel. The GoogleApiClient is connected and the achievement ID is correct. Nov 13 07:07:24 Do I need to do something before .unlock? The achievement isn't "revealed" and is set to hidden. Nov 13 07:09:40 No error/warning is triggered either Nov 13 07:19:15 Amazing. I can't change whether an achievement is revealed or not. Nov 13 07:53:11 Can I ask a google representative to delete some of my junk Play Service data? Specifically, some badly configured achievements and a game. Nov 13 07:53:50 They're obviously badly configured so I don't know why they wouldn't Nov 13 08:36:44 I have some video files . I want to show them in a list with title to play. How do i do it? Nov 13 08:36:51 ListView? Nov 13 08:37:23 thats so last week Nov 13 08:37:27 use RecyclerView Nov 13 08:38:00 Ashiren, Thanks , Let's search it :) Nov 13 09:05:09 I have lots of text that i want to show in table... Should i use HTML? Nov 13 09:06:13 thepoosh boker Nov 13 09:06:57 what is that ? Nov 13 09:07:04 raoul11: HAI Nov 13 09:07:15 coming to google complex tonight Nov 13 09:08:00 late night action with fontain? Nov 13 09:08:10 https://threatpost.com/oauth-2-0-hack-exposes-1-billion-mobile-apps-to-account-hijacking/121889/ Nov 13 09:11:22 sheesh Nov 13 09:11:50 raoul11: going to mentor the Android Academy Fundamentals course Nov 13 09:12:55 helloWorld them to death thepoosh Nov 13 09:13:06 went to the chemical brothers last night Nov 13 09:13:07 haaaaaave you met ted? Nov 13 09:28:31 raoul11: how was? aren't they just a bunch of flippin' hipsters? Nov 13 09:28:51 best, ever Nov 13 09:29:35 do you have a dirty beird? Nov 13 09:30:46 yep Nov 13 09:31:10 https://cdn.meme.am/instances/25278176.jpg Nov 13 09:31:21 thepoosh, if you did a survey on the crowed there, i doubt you could have found more than 3 bibi voters, and all 3 being the security guards Nov 13 09:31:41 HA Nov 13 09:31:54 I actually voted for him Nov 13 09:32:40 *** thepoosh added to ignore list. Nov 13 09:32:58 MUHAHAHA I AM EVIL!!! Nov 13 09:33:05 fucker Nov 13 09:33:14 we need a 3 state solution Nov 13 09:34:15 raoul11: are you coming to say hi tonight? Nov 13 09:35:14 dont haz times, plannin to deploy this week Nov 13 09:35:20 next week inshallah Nov 13 09:36:46 well, next time I'm there is in 3 weeks or so Nov 13 09:38:51 \: Nov 13 09:45:23 raoul11: next time for me is Dec 4th Nov 13 09:45:27 shalom thepoosh :) Nov 13 09:45:34 hi there someone235 Nov 13 09:45:37 what's news? Nov 13 09:45:49 when u going to yer RG office Nov 13 09:45:49 k long time Nov 13 09:46:02 raoul11: I try to avoid if I can Nov 13 09:46:07 when do you come to JLM? Nov 13 09:46:12 someone235: has been indeed Nov 13 09:46:17 what's news? Nov 13 09:46:39 thepoosh probably in about 14 years Nov 13 09:46:49 in my future son bar mitzvah Nov 13 09:46:52 is there a baby on the way? Nov 13 09:46:55 tfu tfu Nov 13 09:46:58 omgomgomgogmogmog Nov 13 09:46:58 mabe /: Nov 13 09:47:06 * thepoosh wiping his tears Nov 13 09:47:10 haha Nov 13 09:47:11 they grow up so fast Nov 13 09:47:29 how many do u have? Nov 13 09:47:42 raoul11: http://i1302.photobucket.com/albums/ag137/nelsonmonty/omgomgomg_zps32868522.gif Nov 13 09:47:54 2 girls (5 and 3) and a boy on the way Nov 13 09:48:08 I am a terrible person Nov 13 09:48:19 indeed Nov 13 09:48:22 al I can think of is that I should've answered 2 girls and 1 cup Nov 13 09:48:28 what week is the boy on the way? Nov 13 09:48:31 haha Nov 13 09:48:38 24 I think Nov 13 09:48:41 maybe 28 Nov 13 09:48:53 Mrs. is due Feb 14th Nov 13 09:48:54 if only the rabbi knew you know what 2 girls 1 cup is Nov 13 09:48:56 or 18th Nov 13 09:49:05 we're like 19th week nao Nov 13 09:49:12 cool cool cool Nov 13 09:49:31 need to make mucho money Nov 13 09:49:33 hire me thepoosh Nov 13 09:49:56 http://www.glide.me/job-openings/qa-engineer Nov 13 09:50:51 fuk off ): Nov 13 09:51:25 id rather clean bibi's toilets while sarah's holding a whip than QA shit Nov 13 09:51:55 that's just because he shits bricks Nov 13 09:53:21 \: Nov 13 09:53:39 might join a small startup anyways Nov 13 09:53:47 wif no salary but % Nov 13 09:54:33 don't Nov 13 09:54:36 just don;t Nov 13 09:54:43 there are tons of workplaces Nov 13 09:54:47 why not go to one of them? Nov 13 09:54:56 all sorts of gett? Nov 13 09:55:39 or become a code monkey for a software hous Nov 13 09:55:39 faster way for an exit Nov 13 09:55:48 that is not correct probably Nov 13 09:55:55 https://goo.gl/photos/kScrhj5HHmmj1Nmp7 Nov 13 09:56:05 raoul11: I have a friend who works for soluto want me to pass your cv? Nov 13 09:56:19 Leeds: HAHA Nov 13 09:56:22 thepoosh, I'm a JS Developer. What about you? Nov 13 09:56:22 where is that from? Nov 13 09:56:31 native Android Nov 13 09:56:32 thepoosh: Hong Kong! I took it Nov 13 09:56:37 that is great Nov 13 09:56:40 someone235: no one is perfect Nov 13 09:56:44 lol Nov 13 09:56:48 thepoosh not atm, but thanks (: Nov 13 09:57:36 Leeds: he's now more than just an MK Nov 13 09:57:42 he's prime fucking minister! Nov 13 09:57:51 (that's what's written on his door) Nov 13 09:57:59 well, I didn't see a car that said PM BIBI! Nov 13 09:58:27 you meant to say PFM BIBI Nov 13 09:58:58 true Nov 13 10:04:55 Hello Nov 13 10:05:17 For some reason, I cannot receive GCM notifications when the app is in the foreground Nov 13 10:05:41 So I have this configuration for a virtual device: http://i.imgur.com/xcvbkhI.png . But when I start it, I have no hardware keys Nov 13 10:05:45 I can receive them when the phone starts or when the app is minimized, and I can register for the token etc. just fine Nov 13 10:06:00 (after it worked few months ago). Someone knows what could cause it? Nov 13 10:06:12 webmim3823: have you registered on server? Nov 13 10:06:16 with your token Nov 13 10:06:38 someone235: is it genymotion? Nov 13 10:06:48 there is a toggle for that Nov 13 10:06:59 thepoosh: yes, that part is working fine, as i can receive the alert in the background and build a toast notification Nov 13 10:07:22 thepoosh, I'm using the emulator from android sdk tools Nov 13 10:07:25 are you sure the push is not arriving on device? Nov 13 10:07:32 thepoosh: but when the app is in the foreground, I just get this: "[AppCertManager] IOException while requesting key:" "java.io.IOException: Invalid device key response" Nov 13 10:07:48 followed by the rest of the trace Nov 13 10:07:59 webmim3823: paste entire stack Nov 13 10:08:14 someone235: have you tried turning it off and back on again? Nov 13 10:08:25 maybe it's time for a new AVD Nov 13 10:08:47 thepoosh: http://pastebin.com/raw/md8YJYP8 Nov 13 10:09:56 webmim3823: why not use FCM? Nov 13 10:10:19 thepoosh: I'm stuck with GCM at the moment Nov 13 10:10:31 migrating from one to the other is less than an hour Nov 13 10:10:35 and also, http://stackoverflow.com/questions/34131462/gcm-push-notification-not-working-android Nov 13 10:11:36 thepoosh: I saw that and the answer is to try Android Studio 2.0 Nov 13 10:11:46 and did you? Nov 13 10:11:51 also, migrate to FCM Nov 13 10:11:54 thepoosh: im not using android studio Nov 13 10:11:55 it's a short process Nov 13 10:12:04 what *are* you using? Nov 13 10:12:19 thepoosh: gradle Nov 13 10:12:29 IDE? Nov 13 10:14:03 thepoosh: webstorm Nov 13 10:15:00 do you have a play-services.json file? Nov 13 10:15:22 thepoosh: no, I don't remember making one Nov 13 10:15:41 thepoosh: looking it up Nov 13 10:15:42 thepoosh, I tried another one, and I tried toggling. It doesn't help Nov 13 10:15:49 weird Nov 13 10:16:04 webmim3823: did you declare the relevant permission in your manifest? Nov 13 10:17:27 webmim3823: do you have a different keystore for development? Nov 13 10:18:51 thepoosh: yes, the permissions are set up right, the keystore might be the issue, and i've tried specifying my production keystore and specifying none, both don't work Nov 13 10:19:13 check the signature that's supplied to the server Nov 13 10:19:19 thepoosh: the odd thing here is that, i can register for a token, and receive alerts in the background and process them with no issues Nov 13 10:19:20 and the android.debug one Nov 13 10:19:29 thepoosh: signature? Nov 13 10:20:02 http://stackoverflow.com/a/8535953/1056359 Nov 13 10:26:51 thepoosh: the sha1 from the keystore, aligned, and unaligned zip all match Nov 13 10:27:09 unaligned apk* Nov 13 10:27:29 * tx sneaks in and unaligns webmim3823's apk. Nov 13 10:27:39 xD Nov 13 10:29:11 im going to check to see if maybe the emulator is missing some library Nov 13 10:29:25 i thought it wasn't, since everything else works, but who knows Nov 13 10:29:52 i do see some strange drm exception with every foreground alert received, along with that key exception Nov 13 10:30:10 http://pastebin.com/raw/cVMtm7AR Nov 13 10:31:28 why lint is complaining about this string $%1$s Nov 13 10:31:29 Format string 'iv_format_textview' is not a valid format string so it should not be passed to String.format (This definition does not require arguments) (at line 67) Nov 13 10:32:23 droidace: I think it's the 1st dollar sign Nov 13 10:32:43 but it prints like this $5.35 Nov 13 10:32:47 which is what i want Nov 13 10:33:16 currentBidPriceTextView.setText(getString((R.string.currentprice_format_textview), priceStr)); Nov 13 10:33:22 that prints $5.35 Nov 13 10:35:17 droidace: what happens if you escape the first $? Nov 13 10:35:27 escape how? Nov 13 10:35:31 \ Nov 13 10:35:31 %$? Nov 13 10:35:58 one sec let me try Nov 13 10:36:20 same error Nov 13 10:36:34 ah you are right Nov 13 10:36:41 what if you use % Nov 13 10:36:43 it sucks man Nov 13 10:36:45 let me try Nov 13 10:37:16 same error Nov 13 10:37:25 % or \ gives same error Nov 13 10:37:40 %$%1$s Nov 13 10:38:04 if you remove formatted=false? Nov 13 10:38:40 ah it works Nov 13 10:38:45 removing formatted false Nov 13 10:38:46 dang Nov 13 10:38:56 been trying to figure it our for 1 hour Nov 13 10:38:58 thanks Nov 13 10:39:03 droidace: i know that feel man Nov 13 10:39:06 another customer satisfied Nov 13 10:39:07 lol Nov 13 11:35:19 Guys, my achievements aren't shown in Play Games. What could be the matter? Nov 13 11:38:45 I made some changes and my Play Services says that my app is Published Nov 13 11:40:39 After I re-plushished it, it told me that I should wait for a couple of hours in order to see the changes, but it says "Published". Do I have to wait? Nov 13 12:31:40 Hello guys, I'm a noob when it comes Android dev and I was wondering if it was possible to update an Activity without using onClick() methods. For more details, I'm developing a microphone app, and would like the activity to update its content whenever the user starts talking. The microphone class is already written and I guess I'm supposed to send a signal from the microphone class to the Activity, and catch this signa Nov 13 12:31:42 l within Activty in order to update it. But how can I do something like that ? Thanks for listening and even more thanks to those of you answering. Nov 13 12:32:07 tldr : I don't know how to "listen to a signal sent from a class within a activity". Nov 13 12:42:23 Aryetis, there are too many ways to "signal" or communicating between a class and another, it could be a listener callback, it could be a handler, it could be an event bus, etc you have to pick what is most appropriate but since you are new you cannot really know, so start simple with a listener callback Nov 13 12:51:24 thanks adq, now at least I know what to google Nov 13 13:00:50 This is such bullshit. My "hidden" achievements still show up on the achievement screen. Nov 13 13:08:54 Can I contact google to remove them? Nov 13 13:09:28 you can write a robots.txt and stop google from crawinling them Nov 13 13:10:55 http://www.robotstxt.org/robotstxt.html Nov 13 13:11:38 karthyk: what? Nov 13 13:16:10 short answer is, no, you probably can't contact Google to do anything for you Nov 13 13:21:15 Leeds: just great. Thanks. Nov 13 13:22:45 not sure you understand what hidden achievements are Nov 13 13:22:47 https://developers.google.com/games/services/common/concepts/achievements Nov 13 13:23:09 hidden achievements are visible but their text title/desc is hidden until unlocked Nov 13 13:23:34 then it is revealed Nov 13 13:24:32 "Once your achievement has been published, it cannot be deleted. Nov 13 13:24:33 " Nov 13 13:25:31 adq: yeah, my problem is that I can't delete them Nov 13 13:25:33 so if you meant, remove or delete an achievement, you cannot if you are after pre-publishing state Nov 13 13:25:38 adq: because I published them Nov 13 13:25:44 yup, next time read in advance the documentation, it's a common pitfall Nov 13 13:26:08 But this is dumb. It's taking players' achievements and scores way too serious. Nov 13 13:26:20 it's not dumb, but i understand you don't like it Nov 13 13:27:21 you have a way to mitigate that however Nov 13 13:27:37 if you handle yourself the listing of achievements in your apps and do not rely on the playgames official app Nov 13 13:27:43 you can filter in/out any achievement Nov 13 13:27:56 same for leaderboard, etc Nov 13 13:28:33 adq: way too complicated and time consuming Nov 13 13:28:46 yeah but it would be better integrated than a startActivityForResult(Games.Achievements.getAchievementsIntent... Nov 13 13:29:25 and because i did it it's not complicated, it would take maybe max a day to implement a screen loading and displaying filtered achievement Nov 13 13:29:45 https://developers.google.com/android/reference/com/google/android/gms/games/achievement/Achievements.LoadAchievementsResult << in case you decide to do it Nov 13 13:30:27 adq: hell no Nov 13 13:30:43 well, you know what to do or not do anyway Nov 13 13:47:28 Is the increment() function supposed to show the progress somehow by default? Nov 13 13:48:09 Notify that you're at 20% and whatnot? Nov 13 13:55:19 good day all Nov 13 13:57:21 good day Nov 13 14:01:05 hi. i am getting runtime exception while opening camera. can anybody tell me what am i doing wrong? code -http://pastebin.com/pGYc8hDf Nov 13 14:05:40 so whats the stacktrace of that exception Nov 13 14:07:28 here is the stacktrace - http://pastebin.com/MsXaN8yQ Nov 13 14:09:35 hmm are you on android 6? Nov 13 14:11:21 yes Nov 13 14:11:41 yes Nov 13 14:12:40 is there some problem with using android marshmallow Nov 13 14:15:36 abhi__, camera class is deprecated since api 21 Nov 13 14:16:03 your issue probably comes from the fact previous camera was not properly released, and camera api has always been a real mess Nov 13 14:16:29 my default camera app seems to work Nov 13 14:16:37 until it doesn't.. Nov 13 14:16:45 is there no way to make it work Nov 13 14:16:48 i meant the runtime permissions Nov 13 14:17:03 for now, go to manage apps and give it camera permission manually Nov 13 14:17:13 and see if its alright Nov 13 14:17:26 but his stacktrace does not mention anything related to permission Nov 13 14:17:31 and he declared them in manifest anyway Nov 13 14:18:13 well i googled issue and there was similar error, no security exception but lacked runtime permission Nov 13 14:18:49 ok ok, could be what you said Nov 13 14:23:16 Ashiren, this answer from commonsware probably sums up what you found: http://stackoverflow.com/a/32636039/1373568 Nov 13 14:24:04 still i would expect a meaninful message in the stacktrace about permission denial or something, but there are some precedents about useless stacktrace message Nov 13 14:27:30 thanks adq Ashiren i am no longer facing error related to opening of camera. i had to manually change permission Nov 13 15:03:09 Is it a big difference timewise lookingup an item in a 1 million item database vs a 10 thousand, 100 thousand, 500K etc? is it linear? quadratic? Nov 13 15:06:05 should mention your db of choice Nov 13 15:11:10 presumably sqlite? Nov 13 15:27:58 context.getResources().getConfiguration().locale.getCountry() returns "US" but I am in Sweden. Is this not reliable? Nov 13 15:28:18 Hi. What would be the best approach to select a crop of an image from camera preview? Is it possible? Nov 13 15:29:40 hi my friends Nov 13 15:34:59 hi homa_ Nov 13 15:35:10 hi karthyk Nov 13 15:58:02 Hey. Given a folder, how can I retrieve a file from it? Nov 13 15:58:23 I have something like File root = new File(Environment.getExternalStorageDirectory(), "ObjectTracker"); and I want to retrieve an image called template.jpg Nov 13 16:53:33 What do you think it is better? To store deleted profiles as a separate database format and thus keep the active database smaller (except for signup where you check against both) or just have deleted flag in the player item and set it to deleted. THis means all operations ahve to work on a bigger database. Nov 13 16:54:47 sirish, How many players? Nov 13 16:56:23 If you were in say the millions of users scale it might be worthwhile to archive old profiles but for lower scales it might be more trouble than it's worth. Nov 13 16:58:31 DLSteve: well that's the thing, i will launch it now, probably it will get 10K to 100K users but ofc i hope for the millions! Nov 13 16:58:48 it is not hard at all to archive old users Nov 13 17:00:14 sirish, Don't optimize pre maturely. Worry about getting millions of users first. It would not be super difficult to add an archival system at a later point. Nov 13 17:02:48 <[Saint]> Whatever you do for your app, make sure it isn't this: Nov 13 17:02:53 <[Saint]> https://plus.google.com/+HaydenPearce/posts/3dD5Lq32KaH Nov 13 18:20:31 Hello, how to pass the same data from a cursor to both RecyclerView and a AdapterViewFlipper ? Nov 13 18:21:09 I'm using RecyclerView.Adapter to load cursor and fetch data, and then need the same data to AdapterViewFlipper Nov 13 18:30:01 g00s: so very meh Nov 13 18:30:03 omg Nov 13 18:30:09 raoul11: last chance to come over Nov 13 18:30:31 am resting after a 6km jog /: Nov 13 18:30:34 https://goo.gl/maps/VmhU6Xz5ABx Nov 13 18:30:43 stop being a bitch Nov 13 18:31:00 \: Nov 13 20:08:55 Hi, I'm trying to @inject DataManager inside my fragment, however, I always get null, but in Activity this works, any advices how to solve this problem ? Nov 13 20:35:11 Hi; I'm trying to write a simple application which mostly performs stuff in background (SMS state machine); so far I tried to implement everything using BroadcastReceivers, but I'm having troubles maintaining state... Nov 13 20:36:24 Since BroadcastReceivers are short-lived, it appears that I would need to save the state pretty often somewhere to the filesystem, which is not that intriguing idea. Nov 13 20:36:40 Have a background service Nov 13 20:36:51 Though im not sure what a SMS state machine is Nov 13 20:36:53 The only other way around is to create a service, but I'm not sure I need it right now... Nov 13 20:37:18 orbyt_: basically an auto-topup, since the operator is not providing the feature by default Nov 13 20:41:36 Just to confirm -- there is no way to have any kind of state associated with Application (ideally, auto-restored when the application starts) Nov 13 20:43:09 Nope Nov 13 20:59:28 I'm drawing a bitmap on a relative layout, but I'm confused about the coordinate system. I thought it was all positive unless it was out of the screen bounds Nov 13 21:00:39 top left is [0,0], bottom right is [width,height] Nov 13 21:00:52 but I've been debugging and the bitmap appears to be roughly in the middle of the screen, but it's x coordinate is -130. Which doesn't make sense to me Nov 13 21:00:54 so if you are familiar with canvas in other platform/framework, it might be swapped Nov 13 21:01:11 adq yeah I looked it up and that's what I've been assuming Nov 13 21:01:57 but I'll get negative coordinates in weird positions, and then I get rid of my bitmap, when I should be waiting till it's not visible any more Nov 13 21:02:00 maybe you're also confused between the local coordinate versus screen coordinate Nov 13 21:02:58 well, familiarize yourself with this stuff and it will be always clear to you Nov 13 21:03:09 redpants, how exactly are you drawing the bitmap? Nov 13 21:03:31 (and why aren't you using imageview) Nov 13 21:03:37 yeah, not mentionning (oops) that drawing bitmap inside a relativelayout is a rare usecase Nov 13 21:03:50 https://gist.github.com/ncbaihly/d81efc04777a38cd9a04a6baaf454314 Nov 13 21:04:15 Mavrik, well I'm doing this for a course, and this is the way they told us to do it Nov 13 21:04:32 I call drawBitmap at line 311 Nov 13 21:05:47 I'm passing the tests locally, but its behavior isn't exactly matching the spec we were given so I'm trying to get it right Nov 13 21:06:43 could be that you just don't take the finger coordinates right, and everything is offset Nov 13 21:06:58 (since this part is missing in your gist) Nov 13 21:07:28 be sure to listen touch event to retrieve coordinate from the view you plan to use those coordinates, and not a parent view or even decor view Nov 13 21:07:42 if it's not that, no clue because i will not audit all your code Nov 13 21:08:54 you can try to add extra draw call like rectangle filled with red or green color corresponding to what you want to debug until you're familiarized with drawing on canvas & other op Nov 13 21:09:06 adq not sure what you are talking about, I'm not doing any interaction with the touch screen. And that's fair, I'm not asking for that. Just trying to see if anyone knew off the top of their head Nov 13 21:09:20 well i just saw that: // Adjust position to center the bubble under user's finger Nov 13 21:09:20 mXPos = x - mRadius; Nov 13 21:09:26 and you said you get negative coordinates Nov 13 21:09:35 so i assume x is already wrong Nov 13 21:09:40 then mXPos too Nov 13 21:10:33 except if your bubble radius is giant and lead to offseting the center out of the screen too Nov 13 21:13:05 adq that's good thinking, but we aren't doing anything with touch, I'm setting those coordinates to be the center of the screen when I call it. I thought it was giant radius too, but math wasn't working out Nov 13 21:14:05 well i don't know more, but you're not far i'm pretty sure if it's just figuring out why coords are wrong Nov 13 21:14:38 if it's a course to learn particles on android, it looks like a bad example, using views inside a viewgroup would be terribly inefficient if there are many bubblesview Nov 13 21:17:29 unrelated but little thing i noticed, and why should I stay silent: i think your bubble is not rotating around its center pivot when you use canvas.rotate(mRotate, mXPos + mScaledBitmapWidth, mYPos + mScaledBitmapWidth); Nov 13 21:18:05 it should probably be mXPos + radius (same for mypos), or mXPos + mScaledBitmapWidth/2 (if mScaledBitmapWidth is really the width) Nov 13 21:18:40 adq it's from a coursera course lol Nov 13 21:19:03 adq, it's rotating right now but maybe not the way it should? thanks I'll take a look Nov 13 21:19:27 anything rotating around its center, would need its center as pivot points Nov 13 23:30:43 Wait, try-with-resources is working on this new project, what requirement does my new project meet that my old ones didnt? Nov 13 23:33:05 minimum api level 19? Nov 14 00:01:51 hi guys :p Nov 14 00:08:52 hi all - anyone here ? I have a fragment loaded and everytime I navigae away from it and back to it again, it reloads the view - how can i just show what it looked like before ? Nov 14 00:10:53 fels: How are you defining "navigate away from"? Nov 14 00:13:20 i hav a bottom tab bar TacticalJoke : one option is my CONTROL view (the one I am trying to retain the view) the other tabs are settings and dashboard - Nov 14 00:14:06 TacticalJoke: when I click dashboard it shows that fragment and then back to the CONTROL view Nov 14 00:18:40 fels: I guess the Fragments are being replaced via the tab widget. If so, and if I'm not misremembering (I seldom use Fragments), I think Fragments are designed to destroy the View and there is no way around this. Nov 14 00:19:45 TacticalJoke: - what do I use instead ? I mean seems a bit stupid that you have to recreate it each time Nov 14 00:26:40 fels: Hmm, what are you using for the tabs? With ViewPager, for example, you can avoid this using ViewPager.setOffscreenPageLimit. Nov 14 00:28:18 TacticalJoke: - I'm not to sure - it was developed by someone who has gone awol - and I'm not a andoird dev (well I wasn't until about 1 month ago) :) Nov 14 00:33:08 TacticalJoke: I've never tried to find that code - :) and I can't find it :) Nov 14 00:40:52 TacticalJoke: seems to be a pattern similar to this : http://pastebin.com/amNWYbJ6 for each tab/button click Nov 14 00:49:27 test Nov 14 01:18:45 IrishGringo: test Nov 14 01:25:05 Hey Nov 14 01:25:20 Can someone help with a really dumb problem real quick Nov 14 01:36:55 no Nov 14 01:38:18 hey lasserix Nov 14 01:39:00 hey hows it going? Nov 14 01:42:07 hm, feel like i'm living in dark times. dog eat dog Nov 14 01:43:01 hopefully someone will come along with the right implementation of technology and liberate the sun! Nov 14 01:43:16 but yeah i know how you feel Nov 14 01:44:43 did you hear about the app that was for getting to know what your represenative does, but was banned because the app depicted the representative as bobblehead? Nov 14 01:45:22 lasserix i'm always wondering if technology, or mobile tech, could cure something. if people knew this or that they would make the right decision ... but i have my doubts Nov 14 01:45:32 no i didn't know about that one Nov 14 01:45:58 lasserix was it an android app ? Nov 14 01:47:21 iphone and android Nov 14 01:48:49 can't remember the name Nov 14 01:49:11 i think we're living in a post-truth world. an app that did everything right to communicate what each senator / rep was doing ... probably would still have no effect Nov 14 01:51:27 not at first but as personal computing becomes more ubiquitous i think it does have the power to modulate the tide so to speak Nov 14 01:51:42 or at least i hope so because what else have we got going for us as species? Nov 14 01:51:55 lasserix i think it will only make it worse, bullshit spreads faster on facebook than newspapers Nov 14 01:52:13 have you heard of shockwave rider? Nov 14 01:52:18 no Nov 14 01:52:24 https://en.wikipedia.org/wiki/The_Shockwave_Rider Nov 14 01:52:35 origin of the term computer worm Nov 14 01:52:49 plus has other neat things,but very pertinent and short to boot Nov 14 01:53:06 like legalized gambling on elections for instance Nov 14 01:55:16 i think Elysium was probably right on Nov 14 01:55:29 i actually missed that Nov 14 01:55:49 it was ok, i think the director said he messed it all up Nov 14 01:55:56 something about uberrich establishing orbiting space colony? Nov 14 01:56:17 yeah. Neill Blomkamp Nov 14 01:56:46 sounded like, if he could, he would have written the movie a little differently Nov 14 01:56:55 bullshit seems to rely on ignorance, which pairs well with memory Nov 14 01:57:01 hmm Nov 14 01:57:05 did it see off? Nov 14 01:57:08 seem Nov 14 01:58:15 http://wegotthiscovered.com/movies/neill-blomkamp-talks-elysium-regrets-fcked/ Nov 14 02:12:24 heh Nov 14 02:12:32 he is making your point for you, And you sort of realize that all these people prefer this element I didn’t pay as much attention to, but I paid a lot of attention to this.” Nov 14 02:13:10 did you hear what bernie sanders said about people voting for trump? Nov 14 02:13:30 he's probably said a lot of things lol Nov 14 02:14:21 he said someting to the effect of its not that us is awash is so much racism as much as its indicative of how sick people are of politics and its corruption Nov 14 02:14:24 paul ryan is at it already, wants to get rid of medicare in 2017 Nov 14 02:14:47 yeah its sad Nov 14 02:15:21 i guess its just true that a power must fall before others can rise Nov 14 02:16:30 lasserix sadly i disagree with him there. but he's still my favorite. one of the predicting factors of trump supporter was whether they thought immigrants took their jobs. the other was whether they were still living in the house they were born in :P Nov 14 02:16:46 scares me almost as much as trump is the rise of popular facist / far right movements in europe, as if the rest of the world's crime lords weren't enough Nov 14 02:17:21 g00s yeah it pissed me so much when they talked so much bs about the economy and jobs during the debates, it's automation stupid! Nov 14 02:17:50 its predictable. stress in financial markets transfers to politics. all over the world, keeps happening Nov 14 02:17:59 and how are you going to bring back jobs that have been automated? you know its inconcievable, it is very critical for labor to survive for this answer to have a reasonable solution Nov 14 02:18:20 yeah Nov 14 02:18:33 lasserix yeah case in point, mitch mcconnell has been saying for the last 8 years that Obama has had a 'war on coal' and just last week admitted its automation and natural gas prices Nov 14 02:18:41 heh Nov 14 02:18:44 basically lying for 8 years, he knew all the time Nov 14 02:19:05 oh but the brutal thing about it, was that he said he was not going to look for any govt programs to help displaced workers Nov 14 02:19:10 brutal man, brutal Nov 14 02:19:17 yeah Nov 14 02:19:36 i mean for retraining or anything 'they are on their asses' basically Nov 14 02:20:17 partly i think a new valuation of economics is necessary that build on marx's premise that value is dervied from labor Nov 14 02:20:40 if he had any sense of decency whatsoever, he would have offered retraining, maybe some tech training, etc Nov 14 02:20:45 because things like that would be clearer that investing in their retraining is actually more profitable for the economy Nov 14 02:21:04 none of those goons has decency i imagine Nov 14 02:21:43 nah. i remember john steward talking to david axelrod, about his efforts to get health care for the 9-11 first responders, since it ran out and they were all dying of weird cancers Nov 14 02:22:05 such a basic thing, should be easy right ? Nov 14 02:22:10 no decency Nov 14 02:22:15 not when you have no health care system ;p Nov 14 02:23:18 lasserix so the rich are moving to New Zealand. Thats the ring in Elysium Nov 14 02:23:33 damn Nov 14 02:23:40 i thought about retiring there Nov 14 02:23:48 they see political instability ahead for the US Nov 14 02:23:52 supposed to be like california before it got developed Nov 14 02:23:56 yeah Nov 14 02:24:00 yeah, hope you have a few million in your checking account :) Nov 14 02:24:07 and that's just a staging area before they perfect a flying city Nov 14 02:24:28 because the ultimate dicatorship would come from decrees from a flying city ;p Nov 14 02:24:36 I have a fragment with an interface which works fine in Api 23-24, but is always null in api 22. Should I be using support v4 ? Nov 14 02:25:30 native fragments were implemented in api 11, so that has nothing to do with it Nov 14 02:26:44 I'm typecasting the interface inside "onAttach", similar to examples I've seen => mListener = (MyFragListener) context; Nov 14 02:27:15 I mean typecasting context as passed inside onAttach Nov 14 02:27:35 you step it through the debuger? Nov 14 02:27:43 are you sure onattach is being called when you think it is? Nov 14 02:27:49 *you expect it to be Nov 14 02:28:11 ah the order of it being called is something I could look at Nov 14 02:28:43 I'm using the debugger but it's not showing the value of context in the scope of onattach.. I could try to pass its value to see if that makes it visible Nov 14 02:30:25 you're right, I don't think onAttach is being called prior to the interface's method Nov 14 02:31:05 make sure you exit your app before you run it again, i've had weird problems reloading it into a running session Nov 14 02:31:08 it seems onAttach is different for API 22 Nov 14 02:31:22 oh thanks for the tip Nov 14 02:31:38 you can add it as a autocommand in build options i think Nov 14 02:35:38 Booyah! Nov 14 02:35:39 it's working Nov 14 02:35:41 thanks so much Nov 14 02:35:43 nice Nov 14 02:35:45 my whole day is justifie Nov 14 02:35:47 justified Nov 14 02:35:48 lol **** ENDING LOGGING AT Mon Nov 14 03:00:00 2016