**** BEGIN LOGGING AT Sun May 29 02:59:58 2016 May 29 03:00:31 oh drag & drop = dnd May 29 03:01:03 At least in this context, yeah May 29 03:01:13 I'm also not a fan of the rendering library in AS...I usually just work on XML and test on emulator/device May 29 03:01:41 Yeah, and I NEVER actually drag anything around in that, I will sometimes use it to look at the preview though May 29 03:02:29 I tried it...except sometimes it just barfs at me...and doesn't actually render May 29 03:02:44 yeah that happens a lot May 29 03:02:54 Yep same May 29 03:03:03 But when it doesnt, I'll look at a preview in there May 29 03:03:34 my biggest frustration with AS is that for some strange reason, and it seems to be only me, autocomplete does not work in my preference XML files May 29 03:03:50 and i've totally wiped out previous install in case some stupid preference was set May 29 03:03:58 That'll get annoying, damn May 29 03:05:56 i wonder how i would file that bug with AS team, upload something to gfycat ? May 29 03:06:24 just saying autocomplete doesn't work isn't too convincing :P May 29 03:06:28 Having a way to filter your history by a specific tab, and being able to additionally limit it to a server or time frame or keywords is not a bad idea. May 29 03:06:31 Right May 29 03:06:38 just file the bug. Steps to reproduce install AS. add preference xml. no autocomplete works. May 29 03:06:49 Also, having 'folders' in back button based on server name... May 29 03:07:12 But it's not somethign to switch browsers over since if one person can do it... May 29 03:07:19 Do you guys use the synchronized keyword at all in your projects? May 29 03:07:20 i.e. tabbed browsing May 29 03:07:24 If so whats the circumstance May 29 03:07:29 Plugins May 29 03:07:31 etc. May 29 03:08:12 Irony: Click-to-play wasn't actually a security feature? I believe it was because of patents on automatically loading plugins. May 29 03:08:26 Yay for old paranoid Opera :P May 29 03:08:51 Too bad it's A) non-compliant with almost any site B) swiss cheese May 29 03:09:13 Holy security, Batman! May 29 03:10:35 morning all May 29 03:11:37 hey Napalm May 29 03:11:48 * g00s hoping Napalm is just waking up :) May 29 03:11:54 yup May 29 03:12:22 * drose379 trying this out May 29 03:12:24 Cool May 29 03:13:08 Is it possible to setup gradle to get ivy repository using passwordless ssh? May 29 03:14:14 right now I have password encrypted using gpg and get gets the credentials that way by decrypting it. Ofcourse this is not stored in the git repo. May 29 03:17:36 On mehtods, do you guys name() { or name() \n { May 29 03:18:29 I like braces on the same line May 29 03:18:56 Cool, was just wondering May 29 03:19:30 java convention is foo() { \n May 29 03:19:45 you see the other style in C++ often May 29 03:19:59 Damn, my uni required the brace on the newline May 29 03:20:02 Werid May 29 03:21:30 Napalm are there any decent TransitionManager docs ? May 29 03:23:18 g00s: https://developer.android.com/reference/android/transition/package-summary.html top section May 29 03:23:25 g00s: https://www.youtube.com/watch?v=4L4fLrWDvAU May 29 03:23:42 g00s: there is a really good example by chet May 29 03:23:46 let me dig it out May 29 03:23:49 Whats the best way to talk from FRAG to PARENT activity May 29 03:24:11 g00s: https://www.youtube.com/watch?v=S3H7nJ4QaD8 May 29 03:24:12 there May 29 03:24:14 thats it May 29 03:24:29 yeah i find those ref docs terrible though May 29 03:24:47 was looking for something like https://developer.android.com/guide/topics/graphics/prop-animation.html May 29 03:25:22 i've always found animations to be tough May 29 03:25:30 oh rly May 29 03:25:36 g00s: watch that last video link May 29 03:26:50 yeah that looks good, thanks May 29 03:30:30 If my parent activity conforms to an interface, is it bad to cast the Context to type of that interface in onAttach of its child frag? May 29 03:31:00 I guess it kinda tightly couples the frag to the activity, cause now any time an activity uses the fragment it has to inherit from that interface May 29 03:31:05 Am I overthinking it? May 29 03:33:03 No you're not, it's pretty much required given the current Android architecture May 29 03:33:40 So I have to just cast the contect in onAtttach CedricBeust ? May 29 03:33:56 context* May 29 03:33:58 correct May 29 03:34:02 Yes, you don't really have alternatives May 29 03:34:16 As long as that fragment will only ever be instantiated by that activity, you're fine May 29 03:34:17 Right May 29 03:34:22 Exactly May 29 03:34:24 Ok cool May 29 03:34:30 Thanks guys May 29 03:34:51 If I were to revisit our decisions today, I would make Activity generic: Activity where T is your own stuff May 29 03:35:02 and now fragments would be type safe, no need to cast any more May 29 03:35:10 But well, that ship has sailed May 29 03:35:22 What would T be though May 29 03:35:45 And how would that fix this situation? Im jw May 29 03:36:10 Fragments would now be invoked with T instead of Activity, so no need to cast May 29 03:36:30 It won't give a compile time error because onAttach happens in library code. But yeah the cast will be removed. May 29 03:37:07 So the fragments onAttach mehtod would accept type T CedricBeust ? May 29 03:37:15 yup May 29 03:37:29 Thats...beautiful May 29 03:38:00 Generics just weren't an option when we designed the current system. May 29 03:38:08 You were on the android team? May 29 03:38:18 I was May 29 03:38:29 Why you leave? May 29 03:38:41 Long story, not really relevant here May 29 03:38:49 When I joined, there were maybe eight people on the Android team May 29 03:38:56 Thats crazy May 29 03:39:00 Mostly Danger people May 29 03:39:04 Danger? May 29 03:39:35 And howd you get the job May 29 03:39:36 https://en.wikipedia.org/wiki/Danger_(company) May 29 03:40:25 Howd you get the job? May 29 03:40:25 parent is Microsoft interesting May 29 03:40:35 I'm guessing this is the reason why I got the job: https://googleblog.blogspot.com/2006/11/gmail-mobile-client-is-live.html May 29 03:41:36 Damn, youve got an amazing history man May 29 03:42:28 Amazing May 29 03:42:54 Developing Gmail for Java ME was no picnic, I'll leave it at that May 29 03:43:20 Whats the deal with Java ME? May 29 03:43:24 Only read about it a bit May 29 03:43:30 Good for you. May 29 03:43:33 It was a nightmare May 29 03:43:47 A mobile spec written by people who have no clue about development and no clue about mobile. May 29 03:43:50 Wait, you created this before Android was a thing? May 29 03:43:59 Oh yeah that was way before Android May 29 03:44:04 What did it run on May 29 03:44:07 What OS May 29 03:44:11 We shipped Gmail on 300 "feature phones" May 29 03:44:24 You know, the Nokia candybar, Motorola RAZR, etc... May 29 03:44:29 I'd like to interview you some time May 29 03:44:31 O_O May 29 03:44:34 That sounds....painful. May 29 03:44:45 Painful is not even beginning to describe it May 29 03:44:57 Was it worth it CedricBeust May 29 03:44:59 Writnig Gmail for Android was a walk in the park in comparison May 29 03:45:13 Of course it was worth it, learned tons of things May 29 03:45:40 Good May 29 03:46:12 so here's a question I've always wanted to asked but never had the opportunity: the Androids Widget system. Wtf? May 29 03:46:29 I think it's awesome. You disagree? ;) May 29 03:46:49 Java ME is the devil May 29 03:46:54 oh I think the end result is fantastic. It's one of the key reasons I love android, and literally the reason I wrote the one in-prod app I have May 29 03:46:59 was. Was the devil. May 29 03:47:10 true May 29 03:47:17 Is it dead now? May 29 03:47:22 I remember writing games for nokias May 29 03:47:24 We were designing a "modern" UI and layout system in 2006. Let that sink in for a minute. May 29 03:47:25 but the API made me just so confused. it felt like someone took the existing Activity/View system, then re-rolled their own and tossed it out there May 29 03:48:45 i guess what I'm really asking it was constraints did you guys hit that forced the API to be so different? It was just kind of odd to me the idea that widgets were so disconnected from the main application May 29 03:49:13 The UI we designed was pretty close to existing systems. May 29 03:49:43 The only battle that I lost was that I wanted layout managers to be separated from Views. I thought it was important but more people thought we couldn't afford the more beautiful design May 29 03:50:04 That's why LinearLayout is a View. It still hurts my feelings today but maybe it was the right decision. May 29 03:50:57 i guess I should specify, I'm talking about home screen widgets specifically. Remote Views, lack of access to some application components, etc. May 29 03:51:10 I can definitely see both sides to what you mentioned though May 29 03:51:15 Lot of these came only much later May 29 03:51:35 I love the flexibility that recyclerviews provide with the layout manager separated, but it does add just one more thing to have to wire together May 29 03:52:32 So what are you doing now CedricBeust ? May 29 03:52:43 Stuff :) May 29 03:52:56 yay stuff :), retired? May 29 03:53:08 i'm thinking more like under NDA :P May 29 03:53:21 drose379 thats the normal way to do it May 29 03:53:32 g00s: what are you referring to? May 29 03:53:41 oh shit, scrollback got stuck sorry May 29 03:53:46 No prob May 29 03:53:56 Were you talking about the casting in onAttach ? May 29 03:56:51 oh! That does remind me, Cedric another android designer question if you don't mind: I remember on one of the Android podcasts a guest they had on explained a bit about screen rotations resulting in total activity destruction/recreation. That, in my opinion, has led to quite a bit of pain for developers. I understand the idea was that the screen size was suddenly different, so the activity may need to be drawn differently, but d May 29 03:57:23 aside from the 'nuke it from orbit' approach? some sort of UI-redraw callback or something else that didn't result in having to save/restore instance state every time? May 29 03:57:35 drose379 yeah May 29 03:57:59 Cool, thanks anyways :D May 29 03:58:30 It's just that remembering what state is still valid and which one is invalid is incredibly hard. It's just easier to nuke the whole thing May 29 03:58:38 it's also gotten much worse with tablets May 29 04:00:02 CedricBeust: so you are one of the orig developers of the Android OS May 29 04:00:18 i'm still confused how Fragment#setTarget() works wrt recreation May 29 04:00:45 I was one of the engineers who took part in the design and implementation of the system and UI May 29 04:00:58 intents, services, views, layouts, etc... May 29 04:01:19 Still remember how it took us weeks to find the right name for what is today known as Intents and Activities. May 29 04:01:31 Man thats really something May 29 04:01:34 Im serious May 29 04:01:39 i think Services were a mistake May 29 04:01:42 i really like the name Intent, fwiw. I always felt like that was a really, really well-named class May 29 04:01:43 I'm also to blame for the fact that you guys are stuck with JUnit and not TestNG :) May 29 04:01:44 one of the hardest problems in programming. Naming things May 29 04:02:00 refactorial: Darn right May 29 04:02:26 especially in the kingdom of the nouns :D May 29 04:02:43 They say all method names should be verbs May 29 04:02:51 But some of my interface methods are not, for callbacks May 29 04:02:56 onThisReceived, onThatReceived May 29 04:03:03 g00s: I disagree with a lot of things in that article and I let Steve know :) May 29 04:03:18 heh May 29 04:04:33 Is there a way to create more then one Task in an application? May be a stupid question May 29 04:04:41 I just dont think ive ever had to do it May 29 04:05:24 drose379: yes May 29 04:05:44 Hows it work? May 29 04:05:45 Napalm: May 29 04:05:56 https://developer.android.com/guide/topics/manifest/activity-element.html#aff May 29 04:05:58 if you're starting an activity with an intent, one of the intent flags will let you start a new task. i dont recall exactly which May 29 04:06:01 android:taskAffinity May 29 04:06:08 read that May 29 04:06:11 Will check that out May 29 04:06:45 Thanks Napalm May 29 04:06:49 Later guys May 29 04:08:54 Is there a tool other than the method profiler in android studio to help me track down these frames I keep apparently skipping on the main thread? The profiler isn't giving me much to go on. Everything it reports on the main thread is primarily android-os stuff, and my method invocations to RxJava work that happens on other threads May 29 04:08:58 yet somehow I'm still missing frames May 29 04:10:15 Maybe all the work on other threads is bogging down the CPU and slowing down tasks on the main thread May 29 04:11:34 b1ackcat: systrace May 29 04:16:24 hmmm...i ran the trace but now the file won't open in device monitor or any browser May 29 04:17:57 Napalm did you see the google science journal app ? May 29 04:18:24 nope May 29 04:19:34 geez, they could at least not put it under another brand May 29 04:20:11 Napalm https://makingscience.withgoogle.com/science-journal/materials May 29 04:20:39 anyone by chance know the best subreddit to discuss headphones May 29 04:20:59 uh May 29 04:21:03 and not /r/headphones May 29 04:21:31 orbyt_: i can tell you the best headphones to get if you like circumaural May 29 04:22:14 circumaural? Like around the ear headsets right? May 29 04:22:16 then yea May 29 04:22:21 currently have logitech g930s May 29 04:22:26 their being a pain May 29 04:24:17 oh astros May 29 04:24:20 thats what i wanted May 29 04:24:28 anyone have a pair? May 29 04:24:44 orbyt_: I have a pair of Bose AE2 May 29 04:24:52 wired ones.. May 29 04:25:10 yea looking for something more robust May 29 04:25:34 i liked my old sennheisers May 29 04:25:48 =0 http://www.astrogaming.com/a50-headset/A50-GEN2.html May 29 04:25:49 orbyt_: Bose make a wireless version.. but ive never been fond of wireless audio.. if interference causes a break or lowering in audio, that just pisses me off May 29 04:26:06 g00s: my previous set was sennheisers May 29 04:26:26 g00s: I would litterally only buy Bose or Sennheiser May 29 04:26:27 yea i think thats whats going on with these g930s. cause the router is like 10 feet away May 29 04:26:38 but im not 100% sure May 29 04:26:40 purely for the fact they are sound engineering companies May 29 04:26:47 its like Logitech May 29 04:26:50 i mean ..... May 29 04:26:53 lol May 29 04:26:57 ? May 29 04:27:13 lol May 29 04:27:24 yeah logitech makes mice :D May 29 04:27:49 I would buy mice from Logitech, but not headphones May 29 04:28:02 it would be like buying Belkin headphones :D May 29 04:28:06 lol May 29 04:29:27 i kinda like the UI of the science app, gives me some ideas May 29 04:30:16 would be nice if there were APIs to add sensor data May 29 04:30:43 the what app May 29 04:30:59 google science app ^^^ May 29 04:31:13 "Science Journal" May 29 04:31:19 this: https://play.google.com/store/apps/details?id=com.google.android.apps.forscience.whistlepunk&hl=en May 29 04:31:24 ah k May 29 04:31:52 Napalm those are some rich hards they have in that app ... almost like whole fragments May 29 04:31:53 ugly af tho May 29 04:31:59 damn, rich *cards* May 29 04:32:05 lmao May 29 04:32:36 each card is like a mini activity, or fragment - but doubt they are implemented like that May 29 04:32:42 guess its time to decompile :D May 29 04:33:30 lol they use achartengine O.o May 29 04:34:03 and leakcanary, interesting May 29 04:45:57 g00s: your always mentioning decompiling google apps; are you getting an completely deobfuscated source? May 29 04:46:15 not completely, it can be a mess May 29 04:46:49 right May 29 04:48:17 g00s : Apk police. May 29 04:48:18 different decompilers give .. different results, so you have to play around May 29 04:48:34 min2 what is apk police ? May 29 04:48:54 i'm using 'gradle clean assemble' and get the following: com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/org.slf4j/slf4j-api/pom.properties May 29 04:48:56 I am denoting you.. you the APK police.. :) May 29 04:49:02 lol May 29 04:49:04 File1: /home/user/Android/bitcoin-wallet-prod/wallet/libs/bitcoinj-0.14.1.jar File2: /home/user/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.20/867d63093eff0a0cb527bf13d397d850af3dcae3/slf4j-api-1.7.20.jar May 29 04:49:13 min2: loads of people do what g00s do May 29 04:49:22 i've already wiped the /home/user/.gradle/caches and same issue May 29 04:49:35 Vainglory google that duplicate file error May 29 04:49:48 you have to add the directive to your build.gradle i think May 29 04:51:15 already did, https://bpaste.net/show/ad3fba607411 May 29 04:51:21 line 13 May 29 04:51:39 perhaps i'm missing something simple May 29 04:56:04 Napalm the longer i leave Science Journal up, the jankier it gets May 29 04:56:11 bet its killing the GC May 29 04:56:47 its pretty obvious because it has a constantly scrolling graph May 29 04:57:28 hard writing data centric apps in java ... May 29 04:58:00 g00s: not really May 29 04:58:23 g00s: in that situation you have a dynamic pool of data points May 29 04:58:45 g00s: the graphs drawing ops should be reusing a lot May 29 04:59:02 g00s: cant see it causing that much gc May 29 04:59:11 most of the chart libs i have seen expect you to feed it a List or something May 29 04:59:28 g00s: welcome to the problem with most chart libraries May 29 04:59:34 lol May 29 05:00:34 Vainglory: there is a bunch of stuff about this error on stackoverflow...did you try there first?...maybe slf4j is duplicated in this case...not sure though May 29 05:04:23 hckrtst: well, i'm trying to use a local copy of bitcoinj. using a repository and i don't get this issue, but i /need/ a local version to create the apk. May 29 05:05:02 Vainglory: look at gradle dependencies May 29 05:05:57 Napalm: i have, which is how i got to the compile files() May 29 05:06:12 Napalm: honestly, i'll pay someone for the answer and it works. May 29 05:07:56 Vainglory: assuming this is app module run: gradlew -q dependencies:app May 29 05:08:17 Vainglory: and you'll see which libraries are trying to load the different versions of log4j May 29 05:08:25 Napalm: alright, one moment May 29 05:08:31 well sorry slf4j May 29 05:08:32 whatever May 29 05:08:48 the point is then you can exclude the one you dont want.. and see if it compiles May 29 05:09:09 gradlew? May 29 05:09:19 :| May 29 05:09:32 open terminal in AS and just type what i said May 29 05:09:34 i get command not found May 29 05:09:50 gradlew is the gradle wrapper script in your project base directory May 29 05:10:01 i'm just using gradle from a terminal May 29 05:10:05 if you dont use the wrapper and have a local gradle install then use gradle May 29 05:10:08 lol May 29 05:10:09 no android studio May 29 05:10:42 Vainglory: in terminal type "./gradlew" May 29 05:10:53 assuming it opens in your project already May 29 05:11:38 assuming you are mac/*nix May 29 05:11:45 it's debian, yes May 29 05:12:00 wasn't +x May 29 05:12:02 sec May 29 05:13:09 Project 'dependencies' not found in root project May 29 05:16:14 Vainglory: i said use your module May 29 05:16:36 Vainglory: gradle -q dependencies:app May 29 05:19:18 keeps saying can't be found. here are the files in that folder https://bpaste.net/show/e4dc59810d68 May 29 05:20:27 ill help $10 May 29 05:20:34 Vainglory: so your module is not called app May 29 05:20:43 Vainglory: but market or wallet? May 29 05:20:49 at a guess May 29 05:20:53 wallet May 29 05:20:59 so use that May 29 05:21:15 * Napalm rolls eyes May 29 05:21:53 gradle -q dependencies:wallet ? May 29 05:22:07 try it May 29 05:22:12 orbyt_: if you can get it to work, certainly. May 29 05:22:21 Project 'dependencies' not found in root project 'bitcoin-wallet-prod'. May 29 05:22:26 k pm me May 29 05:22:29 omg May 29 05:22:48 Vainglory: whats in your wallet dir May 29 05:22:53 one moment May 29 05:23:13 Vaanir: its obviously your project root and not a module May 29 05:23:17 oopsy May 29 05:23:21 Vainglory May 29 05:23:32 https://bpaste.net/show/a80ff0d75a7e May 29 05:24:36 Vainglory: is this some open source project your compiling? May 29 05:24:47 it's the bitcoin-wallet, yes May 29 05:25:30 https://github.com/bitcoin-wallet/bitcoin-wallet/tree/prod // https://github.com/bitcoinj/bitcoinj/tree/v0.14.1 May 29 05:25:49 Vainglory: cd into wallet May 29 05:25:51 i've compiled bitcoinj into a jar, and trying to use my local copy of it rather than the repository in build.gradle May 29 05:25:52 cd wallet May 29 05:25:53 ok May 29 05:25:58 done May 29 05:26:05 then do: gradle -q dependencies May 29 05:26:42 that gave a lot, Napalm May 29 05:26:56 there you go then May 29 05:27:12 https://bpaste.net/show/0eaac056edbc May 29 05:32:47 Napalm: hmm. doesn't show duplicates anywhere May 29 05:33:33 can i pm you Napalm? May 29 05:33:38 no May 29 05:34:27 hi! May 29 05:34:58 the bitcoinj doesn't seem to be showing up in that though. May 29 05:43:09 can anyone help figure out why bitcoinj isn't listed as a dependency in gradle -q dependencies ? May 29 05:54:04 Vainglory : they have their own IRC channel you can ask them https://bitcoinj.github.io/#community May 29 05:54:15 min2: yeah, and it's dead May 29 05:54:17 #bitcoinj May 29 05:54:21 ohh May 29 05:54:38 yeah. May 29 05:57:25 min2: may i pm you? May 29 06:01:15 where can I get the sources for the latest gradle experimental plugin? May 29 07:11:34 [ViewSwitcher not retaining state]. i have a ViewSwitcher inside fragment. the fragment has setRetainInstance(true) but when i switch back to the fragment, it show the first child regardless of the last child that was shown before showing another fragment May 29 07:12:22 kuldeep: you probably dont want setRetainInstance(true) May 29 07:14:54 Napalm, because of some async task going on. and other reasons May 29 07:15:20 kuldeep: are you handling onDestoryView May 29 07:15:24 Destory May 29 07:15:27 Napalm, yes May 29 07:15:30 i mean Destroy May 29 07:15:31 lol May 29 07:15:36 onDestoryView() yes May 29 07:15:42 so your nulling out any view references you have May 29 07:16:33 so? May 29 07:16:47 i mean "are you"? May 29 07:17:22 yes May 29 07:17:38 have you looked at ViewSwitcher? May 29 07:17:40 i just did May 29 07:17:48 looks like it doesnt save that state May 29 07:17:51 its up to you to do that May 29 07:18:19 Napalm, https://gitlab.com/madresistor/box0-studio-android/blob/master/src/main/java/com/madresistor/box0_studio/intrument/func_gen/FuncGen.java#L599 May 29 07:19:01 thought the code is old and i have refactored it. but the design of code is pretty much same May 29 07:20:27 Napalm, i expect that doing setRetainInstance(true) will return me back to the same state even if the view's are destroyed May 29 07:20:57 all other views (Spinner, EditText) are behaving like that. May 29 07:21:35 note: the above code is old, and does not contain ViewSwitcher, im making it better May 29 07:21:56 kuldeep: sorry, what are you asking exactly? May 29 07:22:07 behaving like what? May 29 07:22:14 not saving their state? May 29 07:23:32 kuldeep May 29 07:24:09 my fragment has setRetainInstance(true). ViewSwitcher not retaining state after it comes back from stack May 29 07:24:21 correct May 29 07:24:33 setRetainInstance has nothing to do with that May 29 07:24:46 this is really a complete misuse of fragments May 29 07:24:53 Napalm, :p May 29 07:24:57 just looking at that source May 29 07:26:17 kuldeep: the view state is always kept, its not related to setRetainInstance May 29 07:26:57 kuldeep: setRetainInstance is so that the "fragment java object" itself is kept across config changes May 29 07:27:35 kuldeep: since your fragment is private it must be retained as the fragmentManager cannot re-create it as its constructor is not accessible May 29 07:27:42 Napalm, hum May 29 07:28:04 kuldeep: anyway, to solve your problem save and restore your viewSwitcher youself May 29 07:28:07 yourself May 29 07:28:27 onSaveInstanceState May 29 07:28:46 why? like EditText restore its text, shouldn't i expected the same from a ViewSwitcher? May 29 07:29:47 editText is exception May 29 07:30:00 Ashiren: no its not May 29 07:30:13 hm? May 29 07:30:46 onSaveInstanceState: " Note however: this method may be called at any time before onDestroy()." May 29 07:30:47 kuldeep: all views have the option to save their state. its up to the implementation. May 29 07:31:03 kuldeep: so? May 29 07:31:27 kuldeep: your fragment never gets onDestory.. plus whats that note got to do with anything May 29 07:31:38 kuldeep: save your instance state May 29 07:31:59 afair last time, i used it, it was never called. May 29 07:32:25 probably because it wasnt required May 29 07:32:55 kuldeep: then in onViewCreated you'll get your savedInstanceState back and you can restore your Factory on your ViewSwitcher and tell it to switch to the correct view or whatever May 29 07:33:09 kuldeep: that all depends on how your using ViewSwitcher May 29 07:33:42 kuldeep: if you want to say how your using ViewSwitcher.. I can best recommend a solution May 29 07:34:01 Napalm, shall i raise a issue? because ViewSwitcher should save/restore it state May 29 07:34:10 no it shouldnt May 29 07:34:13 its dynamic May 29 07:34:19 you have to set a Factory on it May 29 07:34:28 its up to you how you extend it May 29 07:34:49 kuldeep: how do you use it? May 29 07:34:54 Spinner's are dynamic. but they don't loose their state May 29 07:35:16 not in the same way May 29 07:35:34 kuldeep: Spinner's and ListView and so on have Adapter's that they source their data from May 29 07:35:44 kuldeep: ViewSwitcher does not. it switches Views May 29 07:35:58 and its up to you to create those Views May 29 07:36:11 new code https://gitlab.com/snippets/20103 May 29 07:36:37 kuldeep: plus, the ticker would probably get rejected because it would break current implementations May 29 07:37:07 but since that is a bug (from my pov) it should fixed May 29 07:38:07 raise a ticket then.. its your choice May 29 07:38:24 its not going to solve your problem May 29 07:38:37 "I can best recommend a solution" what about that. i will look into that later May 29 07:38:49 R.layout.fragment_func_gen May 29 07:38:56 snippet your ViewSwitcher section May 29 07:39:29 i was doing that May 29 07:39:33 https://gitlab.com/snippets/20104 May 29 07:40:38 kuldeep: ok so the entire view hierarchy is static.. so the view state inside is going to be saved and restored May 29 07:40:53 kuldeep: all you need to do is save and restore the "which child" from the ViewSwitcher May 29 07:41:20 Napalm, that was what i was expecting from ViewSwitcher internally. was i wrong? May 29 07:41:37 *i was May 29 07:41:41 yes, as i said it does not save any of that May 29 07:42:14 Napalm, "expecting" and "actually doing" are two different things. im trying to check if im understanding anything wrong. May 29 07:42:19 so in your onSaveInstanceState add the bundle.putInt("viewSwitcherChildIndex", m_viewSwitcher.getDisplayedChild()); May 29 07:42:33 and then restore it May 29 07:43:40 Napalm, ok May 29 07:43:50 and in onViewCreated() after you assign m_viewSwitcher do: m_viewSwitcher.setDisplayedChild((savedInstanceState != null) ? savedInstanceState.getInt("viewSwitcherChildIndex", 0) : 0); May 29 07:44:01 something along those lines should fix your problem May 29 07:54:04 https://gitlab.com/snippets/20105 like you said, but it didnt work May 29 07:55:01 onSaveInstanceState() is never called. i see no "inside onSaveInstanceState" in logcat and the problem persists May 29 07:55:30 i switched to another Fragment and then returned back to the fragment. still same May 29 07:56:01 Napalm, ^ May 29 07:58:27 kuldeep: its because its retained May 29 07:58:29 sorry May 29 07:59:21 kuldeep: on onDestoryView before you null out m_viewSwitcher save the index into a integer member variable and restore it with that May 29 08:00:35 Napalm, hum, that strategy works. (earlier code did that). problem is ViewSwitcher is the buggy part here May 29 08:00:50 its not May 29 08:00:51 its your app May 29 08:01:04 as i said earlier its a complete misuse of fragments really May 29 08:01:52 Napalm, i wanted to retain fragment because async task may needed it. May 29 08:02:02 lol May 29 08:02:12 again, not the way to do it May 29 08:02:21 you might aswell keep a reference to the fragment in the AsyncTask May 29 08:02:34 see my point? May 29 08:02:41 Napalm, in future, i will fix that May 29 08:03:43 in past, while writing code, i wanted least headache May 29 08:04:26 kuldeep: i suggest you watch this https://www.youtube.com/watch?v=k3IT-IJ0J98 May 29 08:04:52 kuldeep: btw, i'm not suggesting you keep a direct reference to the fragment in your AsyncTask May 29 08:05:00 <[Saint]> As an anecdote from experience - saving yourself some "hassle" early on, almost always involves a metric shittonne more hassle later on when you have to undo it all and Do It Right(TM) later. May 29 08:05:03 <[Saint]> Just sayin'. May 29 08:05:10 :) May 29 08:05:18 <[Saint]> Saving yourself time and hassle ends up directly causing it. May 29 08:05:26 [Saint], :p May 29 08:05:38 <[Saint]> But, this is how we learn. :) May 29 08:05:52 <[Saint]> My first forays into Android dev were complete and utter shite. May 29 08:06:19 <[Saint]> The latter ones only marginally less so. May 29 08:33:07 hi guys May 29 08:33:08 guys,I'm trying to place a PreferenceFragment in a RelativeLayout by referencing its id. It seems everything works, but when I go inside my nested PreferenceScreen, PreferenceFragment takes the whole screen. it seems when openeing inside PreferenceScreen, android uses android.R.id.content rather than my specified layout. Any suggestions how to solve this problem? May 29 08:43:09 no one? May 29 09:07:15 hi all. i got an issue with a runnable: http://pastebin.com/KQJMKife | how can i kill this runnable when a user leaves this screen/activity or restarts it? May 29 09:08:15 https://developer.android.com/reference/java/util/Timer.html "When a timer is no longer needed, users should call cancel()" May 29 09:09:17 lets see May 29 09:09:35 Raoul11: i dont know why you wouldnt just use a Handler with delayed callbacks May 29 09:09:57 this was the example i dug up May 29 09:10:04 using guavas stopwatch May 29 09:10:23 please dont tell me your including Guava for the stopwatch May 29 09:10:24 lol May 29 09:11:19 i include it for a number of tasks May 29 09:13:35 thanks SimonVT May 29 09:13:44 working as planned now May 29 09:23:41 hithere May 29 09:24:49 Napalm, implemented CorrectedViewSwitcher extends ViewSwitcher and do the state saving/restore of displayed child. May 29 09:25:04 s/implemented/did/ May 29 09:25:12 oh rly May 29 09:25:17 link May 29 09:26:08 Napalm, https://gitlab.com/snippets/20106 May 29 09:27:01 guys,I'm trying to place a PreferenceFragment in a RelativeLayout by referencing its id. It seems everything works, but when I go inside my nested PreferenceScreen, PreferenceFragment takes the whole screen. it seems when openeing inside PreferenceScreen, android uses android.R.id.content rather than my specified layout. Any suggestions how to solve this problem? May 29 09:27:03 no extra hacks. just use CorrectedViewSwitcher instead ViewSwitcher in layout xml May 29 09:28:16 kuldeep: nice work May 29 09:28:21 Napalm, :) May 29 09:28:48 thanks Napalm May 29 09:28:53 I have dilemma naming my android package May 29 09:29:13 bolovanos, what kind of? May 29 09:29:44 I need to differentiate them by name May 29 09:29:50 like May 29 09:29:50 com.example.example-piano May 29 09:29:50 com.example.example-guitar May 29 09:29:53 but May 29 09:30:23 I cannot use - and specs says that underscore might be used instead May 29 09:30:24 hero_biz, sharing code could help. May 29 09:30:33 bolovanos, yes May 29 09:30:45 problem is what other programmers thing of underscore May 29 09:30:55 Have you considered using "." instead? May 29 09:31:02 bolovanos, they think of underscore as underscore May 29 09:31:13 bolovanos, or use "." as SimonVT recommend May 29 09:31:19 Hi. I'm using Android studio + gradle. It seems that when gradle build is running, my PC becomes really unresponsive... I have noticed that it uses all of my cores (4). Is there a way to decrease the maximum limit? May 29 09:31:58 minas114, using "--daemon" "--parallel" any such. try not to use them May 29 09:32:36 minas114, dig the settings dialog. maybe you can find it somewhere hidden May 29 09:32:39 SimonVT, yes but it would look like "com.example.example.piano" which means I can make "com.example.piano" out of it directly May 29 09:33:00 I don't see the problem May 29 09:33:05 I know that package name is not related to domain name, but May 29 09:33:06 @kuldeep: code is rather simple. I have a simple class inherited from PreferenceFragment. now I add it inside a Relative layout by getFragmentManager().beginTransaction().add(android.R.id.content, new SettingsFragment()).commit(); May 29 09:33:26 com.bolovanos.example.piano, com.bolovanos.example.guitar May 29 09:33:50 kuldeep, why not use those options? May 29 09:33:59 I still can't really tell if they help or hurt May 29 09:34:02 it works itself, but when I open a nested PreferenceScreen with is loaded inside preference fragment,it take whole screen. May 29 09:34:25 rather than taking that layout only. May 29 09:34:26 --offline does seem to improve build times a bit May 29 09:34:53 RustyShackleford, `gradle --help` would print help May 29 09:34:55 SimonVT, ok - and any reasonable reason (other than I have read on stack: "I have not seen underscore for a loong time") why not to use it? May 29 09:35:14 Really, adding a Actionbar with back button to a preferencefragment is a .... May 29 09:35:34 bolovanos, i use underscore. org.madresistor.box0_studio and liab_studio no big deal May 29 09:35:56 I thought to add it to activity and use a layout to contain preferencefragment, but it seems it does not ork like that. May 29 09:36:30 bolovanos, they were better than .studio.box0 and .studio.liab May 29 09:36:31 hero_biz, are u trying to add Actionbar to your settings, while using fragments? I have not succeeded yet. How you do it May 29 09:36:48 I don't use underscore because I think it looks ugly.. Only reason May 29 09:37:31 i_use_underscore_alot_of_time_in_c_functions_cpp_functions_and_other_languages May 29 09:37:37 kuldeep, great :) May 29 09:38:45 SimonVT, hyphen would be better, but readability is a key for me May 29 09:39:03 @bolonaos: I have problem, so asking.. :P May 29 09:39:06 And consistency May 29 09:39:20 main one is possible, but nested one is a problem. May 29 09:39:58 hero_biz, you have created your preference activity on your own, or you have used some example and recreated it? May 29 09:40:31 I just made an activity with normal actionbar and another layout for preferencefragment container. May 29 09:40:46 then I added preference to that layout. May 29 09:41:02 I saw some example,but I wanted to try somethign simpler. May 29 09:41:24 that seems to be more clean than what I have used. I am using example from android studio... May 29 09:42:31 it has some strange behaviours. May 29 09:43:00 1-title of preferencecathagory is not shown in my way and I don't know the reason. May 29 09:43:43 2-if there is a nested preferencescreen, it takes the whole screen(over actionabar), when you click over it. May 29 09:43:47 hero_biz, btw - all problems started when by replacing ActionBar with Toolbar May 29 09:44:01 hero_biz, that example was working until that replacement May 29 09:44:46 I have seen good example for preferenceActivity with toolbar here: May 29 09:45:00 https://github.com/davcpas1234/MaterialSettings May 29 09:45:54 But I didn't want to use PreferenceActivity, and I wanted to place this idiotic PreferenceFragment inside another layout. May 29 09:46:08 but it messes things up. May 29 09:46:44 it seems I should manually manage preference tree rather than useing nested ones. May 29 09:48:47 hero_biz, that is what I have https://github.com/sonavolob/ABIconTest May 29 09:49:28 hero_biz, https://github.com/sonavolob/ABIconTest/blob/master/app/src/main/java/com/example/abicontest/SettingsActivity.java May 29 09:50:36 guys - I have been messing up with my project folder name, package name May 29 09:50:47 yea, similar to what android studio makes by setting activity sample. May 29 09:51:34 everything is working with code, but in android studio I am not able to see anything else in Project panel (left side) than Android "view" May 29 09:51:47 yea May 29 09:51:51 headers May 29 09:52:07 the only reason I'm trying to use fragments is this problem too. May 29 09:52:29 hero_biz, if you were able to add Toolbar into that example I would send you bunch of positive energy :) May 29 09:52:29 "view" is headr I guess. May 29 09:52:42 lol May 29 09:53:15 hero_biz, https://github.com/sonavolob/ABIconTest/blob/master/app/src/main/res/xml/pref_headers.xml May 29 09:53:42 yea May 29 09:53:52 I need to do it myself first May 29 09:53:59 it is super iritating. May 29 09:54:27 I guess I need to manage everythign myself rather than using nested ones. May 29 09:55:03 hmm, anyone did the FCM migration yet? May 29 09:55:08 making several preferencefragment and change them manually. May 29 09:55:13 hero_biz, only thing I was able to do was adding the Toolbar on smaller devices (fragments were not activated) May 29 09:55:14 Can you just switch server endpoint without client SDK upgrade? May 29 09:55:17 anyway,need to go for now. May 29 09:55:39 I will try and see what happens. May 29 09:55:42 hero_biz, let me know if you succeed May 29 09:55:43 :) May 29 09:55:45 ok May 29 09:58:02 I do not have that in my project in AndroidStudio https://developer.android.com/studio/projects/index.html#ProjectView May 29 09:58:12 only thing I can see is "Android" view May 29 10:05:58 hi! May 29 10:20:20 I have created screenshots May 29 10:20:44 this is from another project - it used to be like that in now problematic project https://snag.gy/yKS1MF.jpg May 29 10:21:01 this https://snag.gy/D4a7c8.jpg is what I have in the problematic project May 29 10:21:15 any idea what is wrong with my Idea? May 29 10:50:23 hi! someone here? May 29 11:44:54 Hey, has anyone used this library: https://github.com/anjlab/android-inapp-billing-v3 ? I could use some help with getting response for when a purchase has been made. May 29 13:26:08 Hi guys, does any of you know if the DZ09 smartwatch has a battery temperature sensor on its battery ? May 29 13:26:40 Most android devices do have an accessible battery temperature sensor. May 29 13:54:25 Hi, I'm writing a client for a HTTP API I made, and would like it to simply return the result, abstracting away the fact that it took an Internet call to get it. For that I'd (probably) need a way to block on client member function calls, until the new Thread that I have to spawn for Android to let me do the call finished, but I'm wondering, is there any better solution for this? May 29 13:54:50 imv, yes, you can use a library for this purpose May 29 13:55:03 Manually doing network calls and handling threading can be a pain :) May 29 13:55:15 Retrofit, Volley and Wasp are some popular ones May 29 14:00:00 Thanks for the suggestion, I didn't know libraries that wrap the HTTP requests themselves existed. Any suggestions? The API calls look like this : 'http://localhost:8080/getBasketItem?basketItem=1' and the response is a JSON May 29 14:01:22 nvm, I think I'll use JAX-RS May 29 14:01:29 thanks! May 29 14:38:53 huh May 29 14:38:57 Use retrofit. May 29 14:39:16 I don't think JAX-RS has all required APIs available on Android. May 29 15:04:00 Hello May 29 15:04:27 How can I develop a functionality in my Android app to enable text vertical autoscrolling ? May 29 15:05:35 is it possible to keep adbd running in tcpip mode all the time without having to root the device or connect it via USB ? May 29 15:07:21 from time to time it stops working (it shows offline in adb devices) and the only way to revert it is to connect it to usb and execute "adb tcpip 5555" May 29 15:07:44 which is a big problem for me May 29 15:10:33 mz|alex i have the same problem, wish you could permanently set it May 29 15:10:59 using stock rom, no way to get around that afaik May 29 15:11:00 I use it on a GearVR device, and it's really annoying to disconnect it every time I try to compile May 29 15:12:13 so, rooting is the only way? May 29 15:13:50 maybe If I could determine why it goes offline and avoid that, I wouldn't need to plug on usb unless I reboot the smartphone May 29 15:14:15 is there a log for adbd ? May 29 15:16:54 mz|alex been a while, but thought CM dev settings had option for manually specifying usb/wifi May 29 15:17:53 what is CM ? May 29 15:17:59 cyanogenmod May 29 15:18:45 I'll just go try to troubleshoot why it goes offline in the first place May 29 15:19:52 that will be tough to find out i think May 29 15:20:13 usb link can change state + general flakiness of adb May 29 15:20:21 or wifi link in that case May 29 15:22:24 but reconnecting is not possible, so I assume something crashes on the android side May 29 15:23:03 mz|alex btw, this has been an issue - for years, if not since the beginning May 29 15:23:29 so it is a bug? May 29 15:23:42 i dunno, its the way it is May 29 15:23:52 I'll try to find out what it is :) May 29 15:23:55 you could probably find a bug on b.android.com May 29 15:24:17 but it's hard to reproduce the failure, it happens 3 or 4 times a day May 29 15:24:26 yup May 29 15:24:52 you may have to grab the logs from the router, logs from android, and try to correlate events May 29 15:25:14 or something could be going on with android wifi stack May 29 15:25:17 I'll sniff the network, if I only could induce the offline May 29 15:25:58 maybe dhcp renew or something May 29 15:26:12 or anything May 29 15:26:18 I'll restart wifi router to see if it makes it fail May 29 15:26:20 good luck ! :D May 29 15:26:28 brb :) May 29 15:33:36 Any hint on how to enable vertical text auto scrolling? May 29 15:34:32 ranguro seriously, google it ... May 29 15:41:00 I've been googling it but I dont find very useful resources, g00s. May 29 15:41:07 Thats why I come here. May 29 15:42:29 thats weird, because when i search there are tons of things May 29 15:43:28 As usual. May 29 15:50:27 http://stackoverflow.com/questions/20205366/need-to-make-textview-scroll-vertically-automatically May 29 15:53:07 <_0xbadc0de> is it possible to do "inline Dalvik" May 29 15:53:19 <_0xbadc0de> as one can do with C for instance for "inline Asm" May 29 15:53:22 <_0xbadc0de> with __asm{} May 29 15:54:36 hey devs, I have something like this scenario (in uml) "AppCompatActivity button->DialogFragment:onClickListener()" and I see the view created. But when I dismiss the dialog the activity lifecycle methods (onResume, onCreate) don't get invoked (which makes sense). However, I want to ensure that the button is updated to say OFF if I dismissed the dialog. Seems like this would be a fairly common pattern May 29 15:54:42 so I'm probably being naive. I did find this article which seems to be what I need to do https://developer.android.com/training/basics/fragments/communicating.html#DefineInterface, or is there another way I should handle it. Any tips are welcome. May 29 16:01:54 nvm...found something useful at https://github.com/codepath/android_guides/wiki/Using-DialogFragment May 29 16:11:09 i am designed my application so that user input IP Address and Port to localhost server, how can i pass the string? is it using socket? May 29 16:20:28 Hello, I'm trying to run gradle tests from the command line, and I get Mock error (regarding synchronization) when tests fail. I don't get this message when running the program from AS. I tried to copy the command AS uses to run the tests and run it from the command line but that also fails (I get a connection refused) error. Any pointers as to where to start checking this? May 29 16:20:48 I can pastebin any of the traces if that helps May 29 16:26:24 In a custom View, I'm drawing some centered text under a centered image. Because the widths of the text and the image are in `dp` units, in some cases, one item will have an odd width while the other has an even width, with the result that one of the two looks off-centre. May 29 16:26:40 Is there a good strategy for handling this on Android? I've run out of ideas. May 29 16:28:10 Even defining the widths in `px` seems out of the question because I'm dealing with text. Text requested to be `17px` might be 30px wide on the screen. May 29 16:28:51 Is 1 px really that noticeable? May 29 16:29:34 It seems to be on this hdpi screen (on my Moto E2). May 29 16:29:42 I'm surprised by how noticeable it is, really. May 29 16:31:53 Sounds weird that it's very noticeable.. But not really anything you can do about it May 29 16:32:01 Fonts might differ, user might have scaled text, .. May 29 16:32:19 i am designed my application so that user input IP Address and Port to localhost server, how can i pass the string? is it using socket? May 29 16:32:36 SimonVT: Okay, thanks for confirming. May 29 16:35:21 craptalk: Pass the string where? May 29 16:36:29 TacticalJoke: so the user type the ip address and port, then click the connect and pass them both strings, in order to connect to my localhost which is already running[i am using xampp] May 29 16:36:42 TacticalJoke: should i create socket? May 29 16:38:07 <_0xbadc0de> how the hell do I place a breakpoint within android studio? May 29 16:40:44 craptalk: Still not sure what you mean. Are you asking how to send a request to an HTTP server? May 29 16:41:05 _0xbadc0de: Click the God-damn editor gutter. May 29 16:41:36 TacticalJoke: request a connection bro May 29 16:42:02 TacticalJoke: http://stackoverflow.com/questions/13245389/android-connect-to-server-ip-and-port May 29 16:42:14 just neeed more info about t May 29 16:46:03 How you doing TacticalJoke May 29 16:46:45 <_0xbadc0de> http://puu.sh/p9gA1/26d76ad479.png this is the first test application everyone does May 29 16:46:52 <_0xbadc0de> I have placed a line bp, method bp May 29 16:47:02 <_0xbadc0de> and the debugger doesn't break on them May 29 16:47:12 craptalk: Hmm, not sure. It depends on the kind of communication (e.g., if it's HTTP, the best solution might be to use OkHttp). May 29 16:47:21 drose379: Hey! I'm good. Hope you're well. May 29 16:47:49 Good. What you been up to? Reddit client? May 29 16:47:50 <_0xbadc0de> ah! wait May 29 16:47:52 <_0xbadc0de> it did! May 29 16:48:00 <_0xbadc0de> kudus for my 0x1337 sk1llz May 29 16:48:30 drose379: Yeah. Life is taking over a little. I need to prevent that. May 29 16:48:57 Happens man May 29 16:49:04 <_0xbadc0de> also by the way, in the debugger is there any way of choosing to see Dalvik bytecode instead of our source code? May 29 16:56:49 How can I have a ListView in a CardView in the drawer of a DrawerLayout? May 29 16:57:55 Put your listview in a cardview in the drawer of a drawerlayout May 29 16:57:56 can someone help me build a non-stock version of bitcoinj for bitcoin-wallet, and then build bitcoin-wallet? i'll pay. :/ May 29 16:58:08 Vainglory: No advertising, jobs or otherwise May 29 16:58:32 SimonVT: this isn't. it's for a project, and i'm simply saying i'll pay. May 29 16:58:42 SimonVT: ok, slightly different: I have a class that extends ListFragment. How can I give that a white background with a drop shadow? That's why I want the card styling. May 29 16:58:53 Vainglory: Basically you're saying you'll hire someone. That's a job. May 29 16:59:16 fraktor: i'm not hiring anyone. i can't seem to get this to work and i've been at it for days. simply asking for help May 29 16:59:41 Vainglory: Not allowed in this channel May 29 16:59:54 SimonVT: ok then.. so where am i suppose to go for help? May 29 17:00:27 I don't know, google.com ? May 29 17:01:02 SimonVT: you make it seem like i haven't been doing that, for the days that i've been at this. May 29 17:01:21 Vainglory: what have you tried and what exactly is the issue? May 29 17:01:45 fraktor: Does it not work to put your listview in a cardview? May 29 17:02:35 When I tried to do that, Android Studio gave me an error that said: Element CardView is not allowed here May 29 17:02:58 Where? May 29 17:03:02 It gave me the same error when I tried putting the view in various layouts (I believe I tried relativelayout and framelayout). May 29 17:03:12 Provide some code May 29 17:04:10 http://pastebin.com/WM2yeR3X May 29 17:04:42 CardView isn't a framework component May 29 17:05:01 Fully qualify it May 29 17:05:11 Vainglory: ? May 29 17:05:19 So I need to do layout_width, layout_height etc? May 29 17:05:31 That as well, yes May 29 17:05:40 It's like any other custom view May 29 17:06:00 package.Class, add required attributes, etc May 29 17:07:35 So I should do android.support.v7.widget.CardView? May 29 17:08:45 When I try that, it tells me that "element fragment is not allowed here", and when I tried putting it in a relativelayout, "element relativelayout is not allowed here." May 29 17:11:19 And here is where? May 29 17:11:23 Provide information! May 29 17:11:26 http://pastebin.com/JURmxXtF May 29 17:12:20 Sorry for the typo: I changed "android.support.v4.widget.CardView" to "android.support.v7.widget.CardView" in the element declaration, and that made no difference. May 29 17:14:19 Go through your layout and make sure there's no more errors May 29 17:14:27 If it still complains, there probably is May 29 17:15:26 Is a nested switch bad practice? May 29 17:16:19 SimonVT: It's still complaining. I changed everything to use the v7 versions instead of v4, and there was no change. The only warnings of any kind that I'm getting are "$element is not allowed here". May 29 17:16:43 Then you made a mistake in the names somewhere May 29 17:16:55 Use d.android.com to make sure everything exists May 29 17:20:13 https://developer.android.com/reference/android/support/v7/widget/CardView.html It exists. May 29 17:20:56 "Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.CardView" on path: DexPathList[[zip file "/data/app/org.sircular.proxalert-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]" And yet it doesn't exist. Do I need to update the DexPathList somehow? May 29 17:21:14 Did you add it as a dependency? May 29 17:21:22 Add "it" as a dependency? May 29 17:22:37 CardView May 29 17:23:14 https://developer.android.com/topic/libraries/support-library/features.html#v7-cardview May 29 17:24:54 Thank you, I didn't realize that it was in a different library. May 29 17:30:23 Leeds: sorry, had to attend to something. ok. so, take https://github.com/bitcoin-wallet/bitcoin-wallet/tree/prod and https://github.com/bitcoinj/bitcoinj/tree/v0.14.1 May 29 17:30:47 all i'm trying to do is get a local version of bitcoinj working, as opposed to a remote maven repository May 29 17:33:01 https://bpaste.net/show/187124076912 is what i get - which when using a remote version, i don't May 29 17:37:50 When you use a jar you need to add any dependencies yourself May 29 17:44:55 SimonVT: such as in the build.gradle ? May 29 17:45:08 Yes May 29 17:45:26 so just kind of copy all of the dependencies in bitcoinj's pom and go from there? May 29 17:45:51 Yeah May 29 18:30:53 i am designed my application so that user input IP Address and Port to localhost server, how can i pass the string? is it using socket? here is my code: http://pastebin.com/G31tSH4F May 29 18:31:06 please let me know if i made mistake May 29 18:32:14 If it's on local host I would use broadcasting to auto connect May 29 18:34:22 refactorial: how? May 29 18:34:39 refactorial: can you please kindly check my code? May 29 18:36:11 craptalk: in line 39 you just pass the string ip and Integer.parseInt(port) May 29 18:36:56 Ashiren: so i just parse it? May 29 18:37:10 Ashiren: wrong syntax or i need to add ? May 29 18:37:25 wrong syntax because of [port] May 29 18:38:14 once again, its basic java May 29 18:38:38 craptalk whatever you are doing I think you need to learn more programming before tackelling networking. May 29 18:38:50 Ashiren: so how can i do it? May 29 18:40:35 Socket socket = new Socket(ip, Integer.parseInt(port)); May 29 18:40:52 but thats it. learn java first May 29 18:41:31 alright, does my code too bad? May 29 18:42:09 for ifrst example no May 29 18:42:09 Reading up on material designs, it says that full-screen dialogs are only recommended on small mobile devices. How can I implement my dialog so that it is full-screen on mobile devices, but will be a regular dialog on large devices? May 29 18:42:25 i.e. you shouldnt do inner non-static AsynTask class May 29 18:43:07 No way to do conditional loading of them? May 29 18:43:18 Just curious. May 29 18:43:45 fraktor: you can use DisplayMetrics to measure screen May 29 18:44:30 Ashiren: thank you for the advice May 29 18:44:57 Ashiren: so is that all i should change? i mean basically, will my code work? May 29 18:45:19 you should use an int for the port number instead of a string. May 29 18:45:45 refactorial: Ashiren just told me to parse it to integer, so is that enough? May 29 18:46:33 that works, but it's bad design because the fundemantal thing that is stored is an integer. So the variable should be an integer. May 29 18:46:58 refactorial: i just changed its variable May 29 18:47:42 craptalk: why are you doing networking? May 29 18:47:59 cause i am doing my project now May 29 18:48:06 school? May 29 18:48:12 college May 29 18:49:05 Did the instructor set forth that in an assignment that it must be include networking? May 29 18:49:26 you mean the library? May 29 18:50:15 must you use Sockets? May 29 18:50:45 Is there a requirement to get 2 devices to communicate with each other? or something similar? May 29 18:50:56 refactorial: anything to get it work, i have been searching for any way of solution for that basic need. if you know better you can tell me May 29 18:51:18 refactorial: yes, i will use my phone to connect to my local server May 29 18:51:38 it just my design for that apps to work. May 29 18:51:56 sockets is the way to go. I'm just asking if the instructor made it mandotory to have 2 devices communicate to each other or is this just a project you chose? May 29 18:52:30 refactorial: it is my choice May 29 18:53:02 refactorial: please let me know if you know better code May 29 18:53:22 refactorial: or you can give a brief example to my need May 29 18:53:26 ok that makes sense. Because networking will probably require much additional effort to understand to do. May 29 18:53:51 unless you are willing to learn networking I wouldn't recommend doing such a thing for a design project. May 29 18:54:20 refactorial: it is just to get my project done, i hope you can understand May 29 18:54:42 refactorial: but thanks for the advice May 29 18:54:59 you can chose a different project right? May 29 18:55:25 cant, the time is tight now May 29 18:55:29 it must be going May 29 18:55:47 setting empty view on gridview by setEmptyView still shows empty view even if there is no adapter set to it, but hides it if one is set. Setting visibility of both gridview and emptyview to GONE until data is available also doesn't help. What can be the problem here? May 29 18:59:25 set an empty adapter? May 29 19:02:18 refactorial tried that, didn't help either. I want to show loading view until data is available. Right now loading view overlaps empty view. May 29 19:06:18 hmm... I don't. Just throwing things at the wall. What about having the loading view above the gridview then you can hide/show that? May 29 19:09:14 refactorial here's the layout file http://pastie.org/10857155 May 29 19:10:14 loading view is just a progress bar without any background May 29 19:10:42 i'll have to wrap the progress bar in a viewgroup to achieve it May 29 19:10:50 I see so you have the empty view and progress bar outside the gridview. And you want to show the progressbar/emptyview when loading? May 29 19:11:52 and the emptyview is just like something to fade out the background? May 29 19:12:42 yeah I would definitly put the loading stuff in a new viewgroup. Then you can just show/hide the viewgroup instead of each view individually May 29 19:12:58 i plan to create an inbox on my application which integrated to my gmail account, how can i do it? May 29 19:13:20 it will read if the email is coming will get the notification May 29 19:14:13 SimonVT: don't include anything maven in a build.gradle, and then if the scope is 'runtime', change it to.. system? May 29 19:14:21 "you have the empty view and progress bar outside the gridview" - I don't really understand what you are trying to say. I am making an api call to fetch data. Until that api call returns with the data I want to show loading view. May 29 19:15:02 after the api returns with data, which i set to gridview through adapter May 29 19:15:31 now if the data is empty gridview should show empty view as expected and content view if it is not May 29 19:15:58 <_0xbadc0de> what gui object can I use to serve as a label May 29 19:16:07 <_0xbadc0de> like I have a user textbox May 29 19:16:12 <_0xbadc0de> and I want a label on top of it May 29 19:16:30 I think I'm going to leave this channel until exams & classes are over. May 29 19:17:48 _0xbadc0de: use the text hint property May 29 19:18:34 tapeto, put all loading views into a relativelayout and show/hide that relativelayout May 29 19:24:11 refactorial yeah, putting progress bar into FrameLayout with background set is what I'm going with now although it's a hack :-( May 29 19:27:03 refactorial thanks, anyways May 29 19:28:52 your welcome May 29 19:31:32 Hello! Is it possible to setup android sdk manager so, that i configure it to update from my server (mirror) with all up-to-date sdk's (i update mirror sdks as usual). So other team will not waste traffic on downloading sdk's after they published or updated bu google? May 29 19:51:49 Hey so I have a custom onclick listener for recycle view but for some reason on click the click happens and everything but the text does not change May 29 19:57:36 is there any possible issues with both subscribing and observing on the schedulers.io() thread May 29 20:05:53 Hi everyone; I am not an android developer but would be managing a developer. What free tools are available for me to draw wireframe of an app? May 29 20:06:10 I am back... May 29 20:07:04 pen & paper May 29 20:08:19 refactorial - i am past that May 29 20:08:25 inkscape May 29 20:08:31 i need something neater; more presentable; and more effecient May 29 20:09:02 monsterco: a wacom tablet May 29 20:09:13 is inkscape like photoshop? May 29 20:09:16 inkscape is good May 29 20:09:21 it's more like illustrator May 29 20:09:22 its on vectors May 29 20:09:48 if so i don't want to go that deep; i would like to use something that is made for apps or has the screen sizes etc ; is that asking too much? May 29 20:10:03 I don't want to be the designer May 29 20:10:11 i will provide my scratch to designer May 29 20:10:18 monsterco: hire a designer then May 29 20:12:12 hmmm i guess there is a lack of tech in this area May 29 20:12:33 monsterco: a designer would know more about this May 29 20:12:58 monsterco you can do some stuff in Pixate May 29 20:12:59 So this is my onclick call for my recycler view http://pastebin.com/y6Nscgip ... the toasts both of them get called but the setText call does not occur anyone able to help me with this onclick issue - it does get called after another call - but I do have touchFocus enabled ... May 29 20:13:19 monsterco but if you arent going to pay for anything like Sketch, then your best bet is probably live prototype May 29 20:13:23 and honestly inskscape is fairly untuitive and easy. May 29 20:14:16 anyone ever run into an eof with retrofit May 29 20:15:46 live prototype? May 29 20:16:01 yeah in code May 29 20:16:04 i remember a kickstarter project that used to make your sketch app live lol i think it died May 29 20:16:24 won't ever code again without designs in place and fully done May 29 20:17:20 Pixate is specifically for apps? May 29 20:17:40 yeah May 29 20:19:00 Napalm do you know whats been up with Pixate since google got them? May 29 20:19:16 haven't heard much. expecting EOL announcement :P May 29 20:20:57 Whats the financial advantage of google buying out a company like pixate and then building on it? May 29 20:21:06 not* May 29 20:22:22 well, it happened a year ago and .. just silence May 29 20:22:53 google works in mysterious ways May 29 20:22:58 orbyt_ acquihire :) May 29 20:25:57 Might have wanted the tech for internal tools and did not want to support the actual product. May 29 20:26:23 anyone remember this ? http://techcrunch.com/2015/06/18/report-last-year-google-secretly-acquired-agawi-a-specialist-in-streaming-native-mobile-apps/ May 29 20:26:30 remind you of a new feature in N ? :D May 29 20:27:43 is Android N going to change how apps have to be built? May 29 20:27:56 With the instant downloads thing they are going to start May 29 20:28:08 or instant app whatever they called it May 29 20:28:41 i wonder about the economics of developing one of those 'disposable apps' May 29 20:28:59 if its like that, the engagement has to be pretty limited May 29 20:29:23 yeah I am pretty sure the libs are going to have a lot of issues right off the bat too May 29 20:41:34 g00s: I've heard nothing May 29 20:41:56 yeah me neither; awfully quiet May 29 20:50:11 I'd like to display a scrollable list of tags ( can contain up to 10,000 items ), but I'm not sure how to go about it. There are libraries like https://github.com/whilu/AndroidTagView, and https://github.com/kaedea/Android-Cloud-TagView-Plus but I am not sure how to use them with recyclerview (I assume this is needed for performance - incremental loading instead of loading everything at once) May 29 20:52:59 Napalm one thing about dark themes - can't see elevation / z order shadows May 29 20:53:35 so if you were trying to convey hierarchy by layers , using z order ... May 29 20:53:48 doesn't really work well i guess May 29 21:06:05 u can see shadows in dark themes just fine May 29 21:06:12 try reddit sync night mode May 29 21:14:12 hm May 29 21:14:28 i think maybe my height is too high and the shadow too diffuse May 29 21:15:17 Napalm is there a way to do notifyDatasetChanged in RV without actually nuking all the views ... May 29 21:15:29 or do i have to use notifiyItemChanged May 29 21:17:04 how would I go about removing builtin apps before the build begins if I am building from source May 29 21:18:57 orbyt_ guess also depends on the background. i can't see the shadow of the FAB (all defaults) with ?android:attr/windowBackground" May 29 21:19:06 behind it May 29 21:20:49 is this the right chatroom for my question? May 29 21:22:29 Rocket18 no May 29 21:23:10 k thanks, think I found the right one at #android-root May 29 21:23:51 https://bpaste.net/show/9f9498a707f1 124 and onwards gives me "can't find referenced class" - how would i fix this? May 29 21:24:12 https://bpaste.net/show/0f75891cba25 is my build.gradle May 29 21:28:24 Vainglory uh, seems obvious :) May 29 21:28:34 are you a developer ? May 29 21:29:14 why did you put compile files('bitcoinj-core-0.14.1.jar') May 29 21:29:41 g00s: trying to use a local copy of bitcoinj-core May 29 21:30:15 well, thats obviously not going to work, you are missing all of its transitive dependencies May 29 21:30:34 g00s: can i pm you? May 29 21:30:39 no May 29 21:31:15 g00s: how would i find all of the dependencies and add them? May 29 21:31:36 i offered $ for this yesterday and was told that wasn't allowed, so i can't think of any incentives. May 29 21:32:19 Vainglory bitcoinj is on maven central May 29 21:32:21 http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22bitcoinj-core%22 May 29 21:32:32 add it as a dep like all your other deps May 29 21:32:35 i know it is, but i need to work with a local version of it. May 29 21:32:42 because i would like to edit it May 29 21:32:51 oh, haha - well you still need its deps May 29 21:33:07 thats some gradle fu i would have to google myself, no idea May 29 21:33:56 g00s: ok, disregard/ finding/ them. how/where do i add them? May 29 21:34:17 probably your best bet, it to take the bitconj-core, edit like you want, and then publish the artifact to a local maven repo May 29 21:34:31 with its pom.xml in tact May 29 21:34:37 Are there any android UI design books you guys would recommend? I'd love to have a solid hard copy reference for UI stuff, which seems to be my weakest point May 29 21:34:52 g00s: alright, is there a how-to for creating local maven repos? May 29 21:35:19 Vainglory maven will do it for you ... May 29 21:35:25 not sure if gradle will May 29 21:35:29 g00s: this is the /only/ part i need help with, is getting this apk compiled with a local version of bitcoinj. everything else i've got under control. May 29 21:35:38 yeah i guess gradle could May 29 21:36:06 Vainglory maybe #gradle can offer some help May 29 21:36:23 this isn't really an android problem, more of a gradle problem May 29 21:36:24 jsav, don't, design is changing too often May 29 21:36:40 with 180° rotation and U-turn where you don't expect it will happen May 29 21:37:18 g00s: admittedly yes, thank you :-) May 29 21:37:20 * kbs thinks basic layout design is best learnt via general design resources May 29 21:37:22 I f'ing hate UI stuff.. lol. I just spend the better part of an hour just trying to get something to show up correctly on the screen May 29 21:37:30 g00s: can you pm me your paypal? May 29 21:37:58 Vainglory no need, good luck May 29 21:38:07 jsav, you need to familiarize more yourself with basic layout as kbs hinted then May 29 21:38:09 jsav there is one book ... May 29 21:39:04 adq: I'm doing my best to learn.. and I learn best by making mistakes first May 29 21:39:08 jsav http://www.amazon.com/Android-User-Interface-Design-Implementing/dp/0134191404 May 29 21:39:13 i haven't read through it yet May 29 21:39:15 ideally, you don't want a deep hierarchy of nested views and viewgroup, so try to be flat as much as you can (this does not necessarily prevent you to have shadow and details) May 29 21:39:38 I try to make my UI as simple as possible May 29 21:40:08 I just found a way to reduce the number of views in my hierarchy by using the merge tag May 29 21:41:06 yeah merge & include is a must for android xml layout May 29 21:42:12 jsav you may like the new ConstraintLayout and GUI thingy May 29 21:42:40 g00s I'm gonna check that out May 29 21:44:27 I've been thinking about signing up for the Android N beta OTA program.. worth it? I only have one device I use for production and testing May 29 21:49:08 probably, just use complementary emulators & vm (like genymotion) May 29 21:53:04 g00s: notifyItemChanged normally May 29 21:54:33 Napalm OK, so lets say you want to implement selection. one item activates, the other de-activates. Is it OK with animations to say notifyItemChanged(x);notifiyItemChanged(y); back to back ? May 29 21:54:55 i'm still getting some flicker but that could be the default item change animator May 29 21:55:13 yes you notify that both have changed May 29 21:55:25 if your seeing flicker.. thats another issue May 29 21:55:37 the default item animator will cross-fade the views May 29 21:55:44 i guess i could look at the code, are they queued up ? May 29 21:56:26 they will happen together May 29 21:57:39 <_0xbadc0de> android:onClick="sendMessage" May 29 21:57:52 <_0xbadc0de> for each button I have added this was generated May 29 21:58:09 <_0xbadc0de> should I create a callback for each control and replace on the xml by the proper callback name May 29 21:58:25 <_0xbadc0de> or should I keep a SendMessage() method that handles each button individually? May 29 22:00:57 Napalm lol, i think this is dumb https://code.google.com/p/android/issues/detail?id=177517 May 29 22:01:22 i'll try the stable ids first May 29 22:14:10 android studio 2.2 with cmake for ndk. Did anyone try it yet? May 29 22:18:20 <_0xbadc0de> why the hell is everything all red? May 29 22:18:21 <_0xbadc0de> http://puu.sh/p9CaY/075be6482a.png May 29 22:18:29 <_0xbadc0de> also, the code compiles and runs May 29 22:25:27 clean your projec May 29 22:25:28 project May 29 22:28:03 http://stackoverflow.com/questions/37514550/retrofit-okhttp-api-calls-not-completing-read-unexpected-eof-printed ideas May 29 22:38:56 i have a numberpicker on a dialogfragment and when I try to set the min/max values in the onViewCreated() method I get a nullpointerexception...what am I missing? Snippet here http://pastebin.com/raw/hvYMs375 May 29 22:39:14 I am ble to see the numberpicker display when the dialog is displayed May 29 22:45:32 Hey so I figured out the issue has to be for why a user has to click twice for the button to be clicked - it is something with the first time it focuses on the button --- I just tried 10 different ways of setting focusable to false but it does not seem to work - this is the code (xml, adapter, and activity call) - any clue why? http://pastebin.com/Khn0wmDU May 29 23:05:02 refactorial maybe Mavrik May 29 23:06:56 Napalm ... sorry if i asked already, but is it ok to use TransitionManager with recyclerView ? because my experiments of doing it like nick butcher did things in his i/o talk are not going well ... May 29 23:07:48 probably not. May 29 23:07:55 what are you trying to do exactly? May 29 23:08:27 oh, from his presentation, that scenario when you press a comment, it expand and animates upwards (Z) May 29 23:08:44 Hello, I have the following implementation of an Autoscrolling Textview but I need to be able to manually scroll it. Any hint? May 29 23:08:46 http://pastebin.com/XWRuAjb3 May 29 23:09:16 Napalm just wondering if i'm going down the wrong path here May 29 23:09:21 since he used ListView May 29 23:09:43 but thats just a shared element transition? May 29 23:10:05 umm May 29 23:10:06 the transition itself is done in the destination, so, no it shouldnt matter your doing it with RV May 29 23:10:08 lol May 29 23:10:26 g00s: well how are you doing it? May 29 23:10:42 Napalm exactly like his presentation ... May 29 23:10:57 i didn't even know he was using LV until i looked at the code May 29 23:11:04 so my item view, has android:stateListAnimator="@animator/item_kestrel_selector" May 29 23:11:25 and i just copied that out of his project May 29 23:11:30 wait wait May 29 23:11:37 you mean it expands in-place May 29 23:11:45 yeah May 29 23:12:18 you can just do that with regular RV and animators .. no need for transitions May 29 23:13:45 ok i took out TransitionManager call May 29 23:13:55 and restored the default item animator ... May 29 23:13:58 its passable May 29 23:14:20 now you extend the defaultItemAnimator to do your animation for change when the item being animated is the selected one May 29 23:14:33 you can do that with TransitionManager May 29 23:14:38 should be able to May 29 23:15:03 all these moving animation parts really confuse me May 29 23:15:20 i was learning TransitionManager used alone, that not bad ... May 29 23:15:22 g00s: what do you have in each RV item? a profile image and text? May 29 23:15:56 a card for the most part, just like he does - just want it to expand and show actions when selected, and animate it Z May 29 23:16:05 pretty much, exactly what he does May 29 23:16:32 figured it out...breakpoints ftw May 29 23:16:49 one tricky thing with animations, when they go fast its kinda hard to observe if its really working right :P May 29 23:16:57 is there a way to slow down animations somehow ... May 29 23:17:30 yes May 29 23:17:40 your suppose to use the Developer Options for that May 29 23:18:29 Transition Animator Scale or Animator Duration Scale ? May 29 23:18:58 Animator, these are not Activity Transitions May 29 23:19:59 shit that didn't work May 29 23:20:04 have it 10x May 29 23:20:16 you have to restart your process May 29 23:20:16 (Animator duration scale) May 29 23:20:20 ok May 29 23:20:21 and 10x is 10x faster May 29 23:20:29 hm May 29 23:23:03 ok worked, restarted process. 10x is ... 10x longer May 29 23:23:07 so slower May 29 23:23:36 speaking of dev options, anyone tried tapping the 'Android version' field in settings a few times? try it if you haven't...it's a nice surprise May 29 23:24:15 oh May 29 23:24:19 my bad May 29 23:26:35 "You wait till 2019, rewatch Google I/O from 3 years ago, and say "finally I can use all those cool SDKs" if they are still relevant." haha May 29 23:28:34 anyone know any decent open source music player apps May 29 23:33:02 Napalm hm. adding the TransitionManager definitely does more in terms of the animation. well i'll have to dig more. like u said, RV default is cross fade. going fast its passable May 30 00:07:45 I'm trying to use firebase for a kanban board app May 30 00:07:51 trying to figure out how to organize my data May 30 00:08:06 there are 3 objects: cards, lists, and boards May 30 00:08:19 boards have many lists, lists have many cards May 30 00:08:50 Other cool features to have: moving cards between lists, including lists that belong to a different board May 30 00:21:27 toast is cool May 30 00:30:54 can I add drawable/blah in color.xml or do I add it elsewhere? May 30 00:31:27 impliednude: you make a xml file in res/drawable May 30 00:32:28 I guess I am just trying to implement what you told me lol. May 30 00:35:25 RustyShackleford is firebase a good fit for that ? May 30 00:35:53 g00s, well I posted this because I'm struggling with that lol May 30 00:36:16 my first impression is no. Why didn't google offer an sql storage option with firebase too? May 30 00:36:19 and by adding it to res/drawable as an xml file.Can I take away from color.xml and just change the references to drawable:@drawable/bleh :/ May 30 00:37:29 no May 30 00:37:49 impliednude: i already went through in detail how to solve this on your wordpress app May 30 00:48:56 stupid question, when i have a .class that's already been compiled, inside of a jar. how can i modify that .class? May 30 00:59:46 Vainglory: if you want, i assume you mean before its packaged into an APK May 30 01:06:35 Napalm: yes May 30 01:08:21 Napalm> my problem is that grey_lighten_30 is not a shape but just a color with no reference to at least none that I see May 30 01:08:42 impliednude: i am not going though it all again.. i told you how to fix it May 30 01:09:29 impliednude: https://github.com/wordpress-mobile/WordPress-Android/search?utf8=%E2%9C%93&q=grey_lighten_30 May 30 01:09:38 see all the places that reference the color as a drawable May 30 01:09:48 that should be @drawable/your_drawable May 30 01:10:17 gotcha May 30 01:10:23 Thanks. was just confused May 30 01:10:30 impliednude: where you see its being used as a solid color like in the notifications_list_divider_full_width.xml May 30 01:10:51 then you'll want to simply replace the with May 30 01:35:58 Napalm have you used spaces yet ? May 30 01:36:02 nope May 30 01:37:06 cbeust: do you want to create a Space and add it to the topic? May 30 01:37:33 https://play.google.com/store/apps/details?id=com.google.android.apps.social.spaces May 30 01:39:11 hm, i don't think thats what its meant for :D May 30 01:39:39 space is like a shared playground between a few trusted people May 30 01:39:52 you invite a few people, and then when done delete the space May 30 01:39:58 g00s: meh May 30 01:40:10 otherwise, pastebin is better haha May 30 01:40:12 sorry :D May 30 01:40:18 old tech still works ! May 30 01:40:47 o/ I got cordova running and app inventor...I got a question for an app inventor peep...regarding the clock. May 30 01:41:12 Q: how to I control the interval from inside the blocks? It's initially a designer property May 30 01:41:51 Napalm i tried adding a mp4, can't do it - only text, links, and photos May 30 01:41:59 was going to show you animations gone wild May 30 01:42:37 g00s: upload it to drive and share the drive link May 30 01:43:29 So where is everyone getting their information that says Google Play on Chrome OS is somehow a completely new type of container? May 30 01:44:51 dave0x6d yeah, no ARC May 30 01:45:00 where? i dunno, the interwebs May 30 01:45:28 I'm watching I/O now, but it sounds like it's still based off ARC. https://twitter.com/DaveManouchehri/status/737096744404582400 May 30 01:45:30 actually read an interview though, where googler said they couldn't get ARC to do what they wanted May 30 01:46:11 dave0x6d: that commit is old May 30 01:46:15 I'm not sure if he's referring to ARC itself, or just the way ARC apps were delivered. It sounds like it might be the latter. May 30 01:46:29 Tue Nov 17 2015 May 30 01:46:30 Napalm: https://chromium.googlesource.com/chromium/src/+log/master/components/arc May 30 01:46:42 that looks like an awful lot of commits for something that May 30 01:46:47 that looks like an awful lot of commits for something that's being ditched* May 30 01:48:52 yeah, I'm 99% sure this is ARC. May 30 01:49:26 https://www.youtube.com/watch?v=ZLYzX0G0YKQ&feature=youtu.be&t=250 and https://chromium.googlesource.com/chromium/src/+/c4c351d99bce831759eead496bc8215d06b36509 May 30 01:51:22 dave0x6d http://arstechnica.com/gadgets/2016/05/the-play-store-comes-to-chrome-os-but-not-the-way-we-were-expecting/ May 30 01:51:29 see q from Zelidrag May 30 01:52:47 g00s: it sounds like he's referring to what the developer has to implement to get their app going with ARC. May 30 01:53:03 ARC isn't a factor anymore with ARC bridge service. May 30 01:53:16 i read it as ARC couldn't pass the CTS and didn't work with native code May 30 01:53:24 it does work with native code. May 30 01:53:33 I think they're improving it to pass CTS. May 30 01:53:37 so they had to do something different, but from the article says it isn't released it. who knows when it will be May 30 01:54:01 right, read this quote. "With this new model, there is virtually no work that an Android Developer needs to do with their app. They just publish it to the Play Store and it just works." May 30 01:54:20 "Apps written with the NDK—an alternative to the Android SDK that allows developers to use languages other than Java—wouldn't work with ARC, which locked most games out of the project" May 30 01:54:34 anyhow, thats all i read. i have no more info May 30 01:54:37 that's not true though =\ May 30 01:55:19 * g00s shrugs May 30 01:55:25 ARC translates native ARM instructions to NaCl. May 30 01:56:13 i thought NaCL is almost dead too May 30 01:56:31 well, will be a while, to be replaced with wasm May 30 02:02:33 g00s: they are adding a new IPC to ARC though. https://chromium.googlesource.com/chromium/src/+/cbf0a29b010d0d588330a42fe9bb10e0d335eca9 May 30 02:02:40 With the XScreenSaver port, not only is there an NDK OpenGL -> OpenGLES translation going, there is an Xlib -> OpenGL -> OpenGLES translation going May 30 02:06:35 Napalm hm, when i use notifyItemChanged(.., payload) the change animation doesn't run May 30 02:06:41 is that normal ? May 30 02:06:48 (teh default corss fade thing) May 30 02:06:51 *cross May 30 02:06:55 yes, thats the point May 30 02:07:04 lol May 30 02:07:07 so now you can perform any animations you want May 30 02:07:51 hm, well shit, transitionManager still doesn't behave similarly to LV May 30 02:07:55 * g00s cries uncle May 30 02:26:45 Napalm reading the docs for https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html#onBindViewHolder(VH,%20int,%20java.util.List) May 30 02:26:59 they mention partial and full bind, but don't say anything about the animation May 30 02:27:06 correct May 30 02:27:29 but ^^ you said the animation is the whole p oint May 30 02:27:42 * g00s even more confused May 30 02:27:55 so you can do a partial update and animate the changes yourself May 30 02:28:05 g00s: https://developer.android.com/reference/android/support/v7/widget/DefaultItemAnimator.html#canReuseUpdatedViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, java.util.List) May 30 02:29:42 ugh, i need a phD to understand this :( May 30 02:30:34 lol May 30 02:30:43 i am just doing a comment expanding sample May 30 02:31:25 when they have their yearly API review, they need to bring in non-PhDs :) **** ENDING LOGGING AT Mon May 30 02:59:58 2016