**** BEGIN LOGGING AT Sun Jan 10 02:59:59 2016 Jan 10 04:51:49 wow reto meier pushed out his android book until aug 2016 ... Jan 10 04:52:20 was supposed to be done around now :D Jan 10 04:53:09 I think what I'm going to do... Jan 10 04:53:29 Is hook my database/spreadsheet up to every publicly available content provider Jan 10 04:54:06 Ologn what would users do with that ? Jan 10 04:54:58 They'd have a database/spreadsheet of all their text messages, music files, images, videos, calendar listings etc. Jan 10 04:58:26 Ologn seems like a lot of work .. but would you populate views with pre - canned queries against those providers, or would they query them ? Jan 10 04:58:59 the data model for contacts and calendar are pretty complicated. i'd go crazy Jan 10 04:59:38 g00s, well I'll just dump it all, and then maybe sort it out more logically later Jan 10 05:00:05 Just point to the providers, point to the available field URIs, and recurse Jan 10 05:00:40 Maybe pretty it up a little bit initially but not too much Jan 10 05:04:42 The thing about Android books Jan 10 05:04:47 Is they go out of date soon Jan 10 05:05:26 My app uses View.setZ, multi-dex loading, Recyclerview etc., all of which is like, 14 months old Jan 10 05:05:57 I never read Mark Murphy's book but the way he does it is good Jan 10 05:06:12 His SO comments are good, and I saw him speak once...he's had some good code too Jan 10 05:06:55 i wonder if reto is like, meh BNR was out in august and is selling well - i'll just get this ready for N Jan 10 05:07:19 i think big changes ahead, with openjdk + chromeOS merging Jan 10 05:07:26 I mean, even developer.android.com has a lot of out of date stuff, so what hope is there for others Jan 10 05:07:41 Java 8! Jan 10 05:07:50 Lambdas! Jan 10 05:07:56 lol yeah, but i think its out of date because - low priority Jan 10 05:09:35 i think it should be a higher priority Jan 10 05:09:50 if MS and apple can document their stuff, google can too Jan 10 05:10:25 Ologn have you gotten any other feedback on the content provider feature ? Jan 10 05:10:28 * g00s skeptical Jan 10 05:11:01 It shouldn't take me much time, I don't think. So I may as well try it. Jan 10 05:24:06 hmm, I think I want to write a lottery ticket scanner Jan 10 05:24:20 ocr and compare to winning numbers Jan 10 05:25:52 zxing Jan 10 05:26:23 the barcodes are opaque ids Jan 10 05:26:36 so. can't zxing them Jan 10 05:26:55 ok Jan 10 05:29:40 why was i just klined... Jan 10 05:33:18 must be ocr Jan 10 05:34:17 but yeah, haven't ever seen an app to properly scan lotto tickets, at least in California Jan 10 05:34:37 and Google documents their stuff just fine Jan 10 05:37:47 pfn google does ocr now? Jan 10 05:49:15 not in any public api I know of Jan 10 05:49:21 I would use opencv Jan 10 06:01:28 Looks interesting pfn Jan 10 07:08:39 where can I find a noob guide for how to single time launch my first test program from Linux on my Android device? Jan 10 07:09:25 BW^-: have you actually made any attempt to read the docs at all? Jan 10 07:11:38 leeds: i find them slightly confusing! Jan 10 07:12:12 so ask for help with what's confusing Jan 10 07:13:13 leeds: aha, for starters, I know my USB is plugged in because dmesg says "[38151.708430] usb 1-2: new full-speed USB device number 3 using ohci_hcd\n...[38152.162888] usb 1-2: Product: SAMSUNG_Android" Jan 10 07:13:22 but "/usr/bin/adb usb" says "error: device not found" Jan 10 07:13:24 how fix? Jan 10 07:13:35 i guess i should install some kind of driver maybe Jan 10 07:13:47 http://www.dominantwire.com/2012/11/how-to-solve-adb-device-not-found-error.html Jan 10 07:13:49 aha tutorial lessee Jan 10 07:13:50 does your phone has developer options enabled Jan 10 07:13:55 stop Jan 10 07:13:57 also usb debugging enabled Jan 10 07:14:02 ah noo also them are for windows Jan 10 07:14:13 firstly, random N-year-old websites are not the docs Jan 10 07:14:35 secondly, what told you to do "adb usb"? Jan 10 07:15:04 and again - what is confusing you in the docs? Jan 10 07:16:38 ok, glad that's all sorted out then Jan 10 07:19:33 leeds: aha now i understood how to enable the USB debug, so that's a good start :) Jan 10 07:21:25 RTFM Jan 10 07:21:52 if you have trouble with TFM, come ask for help with that Jan 10 07:25:36 but he JUST DID THAT? Jan 10 07:25:44 :v Jan 10 08:03:08 pfn: is it possible to generate TypedFragment with sbt plugin ? Jan 10 10:28:04 Hi, i have a question about some internals of android audio stuff. The Chromecast App can record the system audio somehow and stream it to chromecast audio, But general consensus is that its not possible to record internal audio at full quality, So my question is: How does Google do it? Jan 10 10:28:28 Since it is just a regular App from PlayStore it shouldt have "special" permissions or something Jan 10 10:29:06 Or can Google actually push Apps with a "higher" permission set then the regular SDK? Jan 10 10:37:53 Googles apps are signed with a trusted cert, so they are basically system apps Jan 10 10:38:45 ktwo: Chromecast App doesn't record system audio, actually Jan 10 10:40:31 there are two mechanisms at work - one is MediaRouter, which provides a way for application to send media (video, audio) through external provider (this is used by normal chromecast app), and system built-in chromecast client (Nexus devices) which allows to "cast" system video and audio (using media router in the background, afaik, the system part is the ability to record general display and audio) Jan 10 10:43:52 Are there any tips with working with the emulator? Whenever I need to use it, I find myself trying to get it to work properly more than actually using it. I get emulator crashes fairly often(though I have 16gb ram), sometimes it runs an app in the wrong emulator and I have to restart all emulators, but most often the emulator just doesn't launch or the debugger won't attach. Am I doing something wrong, or is this typical behavior with AS? Jan 10 11:06:45 p_l, are you sure about this but it seems strange, because the chromecast app has a feature called "mirroring" (only for audio!) , then any system sound even ringtones or sound from any app is sent to chromecast Jan 10 11:21:10 ktwo: on which version of android and what device? (Haven't seen that, might be a new thing in 6.0's audio router) Jan 10 11:21:32 I tried it with LG G4 (6.0) but the app should work in 5.0 too i guess Jan 10 13:24:57 what is the recommended string utility to use in android development? Jan 10 13:29:30 maybe just use apache stringutils, and just copy the implementations you need to keep unused code at minimum Jan 10 13:44:44 Hello world :o) Jan 10 13:45:22 Quick question here, maybe a silly one, but I am still learning after all Jan 10 13:46:00 I have just downloaded Android Studio and I am using a Samsung Galaxy S6 Edge+, when I click on devices to compile I do not see my device Jan 10 13:46:26 The only thing I can pull up is some model of nexus which is running Marshmellow (and I am on lolli 5.1.1) Jan 10 13:47:36 Is there any way that I can maybe get the 'Samsung Galaxy S6 Edge Plus' into my devices, like a downloadable profile or something maybe? Jan 10 13:53:37 blahkat: I don't think it's possible to have specific emulator image like that. But you can just connect your phone to your computer and run it on your physical device. Jan 10 13:54:33 ah I see Jan 10 13:55:58 blahkat: You should also be able to download images of older versions of Android so you can test for older versions as well. Jan 10 13:56:17 eg. Lollipop Jan 10 13:57:16 ah I do see my device with 5.1.1 listed now in the device monitpor Jan 10 13:57:20 monitor rather Jan 10 13:57:42 Good stuff! Jan 10 14:03:03 webpack compile is creating multiple [hash].json.gzip files at project root, can i find out what task is creating those ? Jan 10 14:07:05 <_SASDOE> Hey all, what would the best way to launch a login activity from the main activity if the user isn't logged int yet ? Jan 10 14:07:56 <_SASDOE> I tried startActivity inside onCreate, but this just puts me in an infinite loop, without ever actually starting the login activity Jan 10 14:10:57 thanks @ktwo Jan 10 14:14:08 hmm Jan 10 14:14:17 well this gives me some better insight now Jan 10 14:15:36 http://pastebin.com/RSJzxFp9 :o) Jan 10 14:33:34 so, when getting stuff from maven repo, how can I make sure it has been compiled with java versions supported by android? Jan 10 14:34:43 est31: You know, that's actually a very good question I asked myself recently. I don't have an answer but I suspect Dalvik is okay with running bytecode 0x31 or 0x32 as long as it doesn't call into a Java 7 or Java 8 runtime. Just a hunch. Jan 10 14:35:32 Unfortunately I got a build error: "com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)" Jan 10 14:35:50 and googling for it led me to "just add this piece of code to the build.gradle of the library" Jan 10 14:36:05 The class in question, is it your own code or a dependency? Jan 10 14:36:24 dependency Jan 10 14:36:30 Which one? Jan 10 14:36:31 I was having an issue with build.gradle earlier and then I updated the snippet to dependencies { Jan 10 14:36:31 classpath 'com.android.tools.build:gradle:1.1.0' Jan 10 14:36:55 Wait that's an android dependency... very unlikely that's the correct one Jan 10 14:37:58 CedricBeust, 'org.jetbrains:annotations:15.0' Jan 10 14:38:19 @ least that was the jar file that showed up in the log immediately before the error Jan 10 14:38:29 this is my build.gradle http://pastebin.com/9RpMnfN9 -- when I opened android studio earlier it was throwing some errors about signapk.gradle and the build.gradle and I saw that this was a way to resolve the issue Jan 10 14:38:51 well, it was the only way I found pretty much, but i am a noob still, so lol Jan 10 14:39:57 That file is indeed compiled with 52 Jan 10 14:40:16 I might have resolved it all the wrong way :P Jan 10 14:40:56 I can't test that file on a device right now Jan 10 14:43:33 CedricBeust, how can I check it? Jan 10 14:47:27 Can you pastebin the full error? Jan 10 14:47:52 Hi I'm trying to learn android development and I am trying to figure out fragments. I followed the API guide and googled on stackoverflow but can't find the solution to my problem. I am getting fatal exception at runtime; Error inflating class fragment Jan 10 14:48:29 anyone might know why? I couldn't find a single thing online Jan 10 14:50:18 http://pastebin.com/D0USnVzd Jan 10 14:52:03 are you using v4 fragment in your xml? Jan 10 14:52:21 no I'm not. I thought that might be the issue. Can you explain how? Jan 10 14:52:35 change do I just name the classes' full name: ? Jan 10 14:56:00 http://stackoverflow.com/a/21816547 check that out, are you using FragmentActivity for your activity? Jan 10 14:56:33 yep I am using FragmentActivity Jan 10 14:56:34 xml can stay guess paste your code and xml Jan 10 14:57:09 t com.example.myfirstapp.MyFirstFragment.onCreate(MyFirstFragment.java:23) what is at line 23 Jan 10 15:00:30 CedricBeust, seems it works with the 13.0 version of the apk Jan 10 15:00:57 est31: Not sure what apk that is but good to hear Jan 10 15:00:59 canvs2321-, this.textView = (TextView) getView().findViewById(R.id.text_view); Jan 10 15:01:23 that line is causing NPE Jan 10 15:01:43 err jar sorry Jan 10 15:02:09 i see. I'll comment it out for now until I solve the fragment issue. Jan 10 15:02:13 s1l, in fragments you do your UI finding in onCreateView Jan 10 15:02:22 onCreate is more for setting up data Jan 10 15:02:54 okay Jan 10 15:03:07 I thought that wouldn't work though because I didn't return a view for the fragment Jan 10 15:03:10 yet Jan 10 15:03:17 yeah Jan 10 15:03:21 onCreateView you can do that Jan 10 15:03:34 alright Jan 10 15:04:14 onCreate sometimes i'll load data adapters etc... then in onCreateView i find my ListViews etc and attach that adapter Jan 10 15:05:22 oh wow canvs2321- it works now Jan 10 15:05:26 haha Jan 10 15:05:51 I wouldn't expect it but it seems like the NPE was causing an error when inflating the fragment Jan 10 15:06:15 thanks for your help Jan 10 15:07:22 cool Jan 10 15:28:14 hmm I can get the fragment working but can't use findByView in any method on it :( it always returns null Jan 10 15:32:37 gordon_, a typed fragment to do what? Jan 10 15:33:04 tag to fragment type? Jan 10 15:33:14 Oh, not here Jan 10 15:33:54 ok.. figured it out. I can't modify the textview's contents until after oncreateview Jan 10 15:34:26 s1l sometimes i do this http://pastebin.com/VwtybPD7 Jan 10 15:35:14 what's the point of the seperate init method there canvs2321- ? Jan 10 15:35:33 if i have a bunch of views to get i don't wanna clutter onCreateView Jan 10 15:35:42 That's what onViewCreated is for Jan 10 15:37:09 ok Jan 10 15:37:10 i'll have to check that out, i never sniffed out that route Jan 10 15:37:33 I'm just wondering why I can modify textview in a regular activity but not in a fragment inside onCreate() Jan 10 15:37:50 they have different lifecycles Jan 10 15:38:09 so different things have happened at different similar named points Jan 10 15:39:05 I like fragments quite a bit, i don't fully know everything about them, but i get them to do what i want Jan 10 15:43:33 does anybody know a good gif making tool that will capture screen navigation flow? Jan 10 15:48:27 <_3mpty> beaglebagel: android tool Jan 10 15:48:50 <_3mpty> (mac only) Jan 10 15:49:03 anything on windows? Jan 10 15:49:43 hm actually to do that, do we have to create gif from the phone itself? Jan 10 15:50:12 <_3mpty> Mirror app it can screencast or record Jan 10 15:50:59 <_3mpty> it's called Mirror Beta by ClockworkMod Jan 10 15:52:11 i see thanks will try Jan 10 15:53:28 oh it says my device need to be rooted Jan 10 16:29:20 hithere Jan 10 16:29:50 android.support.design.widget.FloatingActionButton - trying to chage designated image through floatingActionButton.setImageDrawable(getDrawable(R.mipmap.ic_gps)); Jan 10 16:30:22 problem is that getDrawable() is accessible from API21 and higher Jan 10 16:30:58 is there a way to change Image for lower APIs? Jan 10 16:37:54 getResources() Jan 10 16:38:34 thx Jan 10 16:38:42 but this seems to be right answer Jan 10 16:38:42 floatingActionButton.setImageDrawable(ContextCompat.getDrawable(getApplicationContext(), R Jan 10 16:38:42 .mipmap.ic_gps)); Jan 10 16:38:46 http://stackoverflow.com/questions/27796246/android-alternative-for-context-getdrawable Jan 10 16:39:12 mean right too Jan 10 16:40:50 question is which one is more suitable Jan 10 16:41:30 got it - first one is more suitable because "getDrawable()" in second one is depreciated Jan 10 16:44:32 except the first one requires api 16 Jan 10 16:44:52 so depends on your min sdk Jan 10 16:45:54 ignore deprecation warnings unless your min sdk is at least the version in which it got deprecated Jan 10 16:51:38 Hello, can anyone provide me with some documentation how to add items to the navigation drawer programmatically but not to the end. Jan 10 16:51:55 <_SASDOE> I'm getting an error when I try to use JacksonConverterFactory when creating a Retrofit instance (using retrofit2). Jan 10 16:52:36 <_SASDOE> It says it has a private access when using this : `.addConverterFactory(new JacksonConverterFactory().create());` Jan 10 17:01:17 <_3mpty> beaglebagel: or it has to be lolipop or greater Jan 10 17:12:26 pfn - good point - thank you Jan 10 17:13:43 SearchView inside ListView does not work? Jan 10 17:13:45 with some newer version of AS (surely with last one I have 1.5.1) my dev device started to behave strangely upon uploading app to it Jan 10 17:14:28 device starts to lag, like some work is going on background (because it is not problem of uploaded app only) Jan 10 17:15:03 did someone observed same behaviour? Jan 10 17:17:47 pfn - where did u get that "ContextCompat.getDrawable(getApplicationContext()" needs at least API 16, when "ContextCompat" is from "com.android.support:support-v4:..."? Jan 10 17:18:35 Hello Jan 10 17:19:10 Is it possible to make a bound service not get killed after swiping the app out? Jan 10 17:20:37 pfn, my minSdkVersion is set to 11 and AS is ok wit it, even test on API 11 image works fine... Jan 10 17:37:11 bolovanos, oh, compat works fine, you weren't clear about which you were using Jan 10 17:37:29 bolovanos, and no reason to set min = 11 Jan 10 17:37:38 might as well set min 15 or 16 Jan 10 17:38:28 i'm confused. where to place resources for unit tests? I need to get InputStream from test data in tests Jan 10 17:42:18 pfn ok, thx - will consider switching min from 11 to 15+ API Jan 10 17:43:03 bolovanos, but yes, anything in compat works down to v?? of the compat lib Jan 10 17:44:38 humongous celebration of vector support in AS and it cannot even read simple svg directly out of Inkscape Jan 10 17:45:14 so feature that were ment to simplify things are complicating them Jan 10 17:46:03 now I have to remove those AS incompatible lines by hand - or create own script to do so, until they change their mind and start to support or even better - ignore those flags Jan 10 17:46:32 is there any ready to go solution to simplify svg for AS? Jan 10 17:46:57 svg2android Jan 10 17:49:00 bolovanos if you are using api < 21, where either you or the build system needs to rasterize the svgs to pngs, i think its still easier to automate inksape to do that Jan 10 17:49:13 there are a few gradle plugins and scripts for that Jan 10 17:49:18 nope, let the build do it Jan 10 17:49:30 convert to VectorDrawable and let the build do it Jan 10 17:49:42 yeah, except lots of SVG doesn't convert to vector drawable Jan 10 17:49:44 pfn, great but - any offline version? Jan 10 17:50:17 never mind custom inkscape namespace for things not in SVG standard Jan 10 17:50:20 g00s, those svg should not be used on android Jan 10 17:50:37 and always export as standard svg Jan 10 17:51:05 bolovanos, run it locally Jan 10 17:51:12 and this problem https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=186431 Jan 10 17:51:58 pfn, yeah I did exported it in standard svg Jan 10 17:52:21 g00s, take it as future investment Jan 10 17:52:52 g00s, but yes - right now, as I wrote, it brings more pain than benefits Jan 10 17:52:57 anyway, vector graphics on android are primarily suited for iconography Jan 10 17:53:24 which has always been relatively simple Jan 10 17:53:46 yeah, plaid even has paths encoded in string resources Jan 10 17:54:11 ah,nevermind, found out Jan 10 17:54:46 that's the recommended approach Jan 10 17:55:08 g00s, particularly if you plan to animate paths Jan 10 17:57:11 because the path must be reused to generate animations Jan 10 18:02:26 easily being able to animate VectorDrawable is pretty awesome Jan 10 18:05:05 pfn, ad svg2android it wont be that easy "Empty preview image! Jan 10 18:05:05 EXCEPTION in parsing ic_lang_cs_1_android.svg: Jan 10 18:05:05 Not a proper SVG fileException while parsing XML file: Jan 10 18:05:05 Premature end of file." Jan 10 18:05:46 then you pasted wrong Jan 10 18:05:54 it is easy Jan 10 18:06:17 drag and drop, select all, ctrl+c, ctrl+v, save Jan 10 18:06:21 yes it is, but ... :) Jan 10 18:06:31 you pasted wrong Jan 10 18:06:44 or your svg is broken, because you have an xml error Jan 10 18:06:58 that is not an svg problem, but a bad file. problem Jan 10 18:10:25 Probably would hit the same error if you ran xmllint on your svg Jan 10 18:10:53 <_abc_> Hello. I have modern sdk and AS installed, 23.0.2, and can't compile a baseline project for target api 10 (gingerbread). The errors relate to the graddle appcompat settings and I have this exact problem: http://stackoverflow.com/questions/27389027/grabble-project-sync-failed/27389110 except I had to edit to compile 'com.android.support:appcompat-v7:23.0.2' -- does anyone have a recipe on how to compile Jan 10 18:10:59 <_abc_> for gingerbread target (api 10)? Jan 10 18:11:27 the answer is to not Jan 10 18:12:26 Anyone using Retrofit2/OkHttp3? (beta versions) Jan 10 18:13:17 I'm updating my project to use retrofit2-beta3, and I've noticed my custom Interceptor has broken Jan 10 18:14:57 <_abc_> pfn: you are the always positive one here. What is the answer to "not". I asked a direct question, 2.3.3 is not 'obsolete' per the sdk tools queried, so I assume your answer is, you won't help with this, right? Thanks, at least we know where we are standing. Jan 10 18:15:18 it is obsolete and you haven't asked anything Jan 10 18:15:27 appcompat works fine with gingerbread Jan 10 18:15:46 My code looks like okHttpClient.interceptors().add(new Interceptor...). The Javadoc of interceptors() claims it returns a modifiable List, but my app blows up with this Exception at runtime: Caused by: java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.add Jan 10 18:17:15 _abc_, you assume people read minds, you never said what the error is Jan 10 18:17:19 <_abc_> pfn: I will simply ignore you if you go on. 2.3.3 is not obsolete per sdk info, I have to support it, and it does NOT build, as shown in the stackoverflow thread. Jan 10 18:17:24 After stepping through the OkHttp code, seems they want you to use a Builder to generate an OkHttpClient Jan 10 18:17:33 <_abc_> Did you actually look in the stackoverflow link? It's short. Jan 10 18:17:35 the thread hasn't shown shit Jan 10 18:17:48 ignore then, because you're a fool Jan 10 18:18:11 Noob Q: it tells me "Could not find an emulator image to run your project.", how fix? Jan 10 18:18:32 Anyone willing to make some comments on some design? Jan 10 18:18:43 Would be a 10-15 second screen recording Jan 10 18:18:57 BW^-, create an emulator image or use a real device Jan 10 18:20:15 BW^-: open AVD manager in Android Studio and create an AVD Jan 10 18:20:27 markyc: uuu umm Jan 10 18:20:27 aha Jan 10 18:20:45 markyc: android studio is what I use to connect to my actual physical phone via USB also? Jan 10 18:20:52 and its invoked under the name "android"? Jan 10 18:21:27 If you're connecting to a real device, you can ignore "Could not find an emulator image...." warnings Jan 10 18:21:43 Because you're not using an emulator, but rather a real device. Jan 10 18:22:19 Does RecyclerView.notifyDataSetChanged() re-render ALL views? Jan 10 18:22:37 <_abc_> pfn: there are 1546 lines of log. As the stackoverflow thread said. Jan 10 18:22:43 <_abc_> Impossible to paste. Jan 10 18:22:48 dimitrovskif, everything that is visible Jan 10 18:22:57 _abc_, pastebin is not impossible Jan 10 18:23:12 dimitrovskif not only that, but also recreates all the view holders Jan 10 18:23:15 _abc_, and since I'm a Fucking mind reader, set compile target to 23 Jan 10 18:23:28 <_abc_> not 42? ;) Jan 10 18:23:38 <_abc_> just a sec I have my hands full here Jan 10 18:23:54 pfn: Thing is, I update the data twice (first from cache then from http call). That causes the video recyclerview to refresh twice which is ugly (since video must re-play). I read that you can set stable IDs to make sure they don't re-render? Jan 10 18:24:30 <_abc_> pfn: my target is set to: compile 'com.android.support:appcompat-v7:23.+' -- I have 23.0.1 and 23.0.2 installed Jan 10 18:25:28 Comments? https://vid.me/AdPi Jan 10 18:26:50 _abc_, no, compile target, Jan 10 18:27:20 pfn, can you please try to convert this http://pastebin.com/Sg3SJQUq for me, thx Jan 10 18:28:44 droidlambda: I find the navigation menu to be too thin. Other than that, you have a pretty app :) Jan 10 18:28:57 drose379: I find the navigation menu to be too thin. Other than that, you have a pretty app :) Jan 10 18:32:52 Thanks MarkyC, I wonder how to fix the nav menu Jan 10 18:32:56 Bigger icons and text? Jan 10 18:33:33 I think the text/icon size is fine. I'm talking about its width Jan 10 18:34:16 Is there any library that can diff data sets based on id in RecyclerViews? Atm I am calling notifyDataSetChanged() which re-binds everything again (awful for videos, replays again) Jan 10 18:34:22 Ohh ok MarkyC Jan 10 18:34:24 I'll try that Jan 10 18:34:26 Thanks Jan 10 18:34:52 <_abc_> Is there a way to cut and paste from the graddle build messages window? Because I can't. Jan 10 18:34:55 dimitrovskif: what are you trying to accomplish? Jan 10 18:35:27 Do the things in your RecyclerView always appear in the same position? is Video1 always in position1, Video2 always in position2? Jan 10 18:35:59 MarkyC: My API returns List