**** BEGIN LOGGING AT Wed Jan 27 02:59:59 2016 Jan 27 03:04:14 so many recruiter emails include salary ranges now... Jan 27 03:04:20 > Your salary would be between 42.000€ and 80.000€, depending on your experience and skills. Jan 27 03:04:24 but that's a joke, though... Jan 27 03:05:37 80k? that must be the same company that promises 10$ eCPM to me. Jan 27 03:05:52 i got a button and 2 relative layouts (same size). @oncreate, rtlLayout1 is visible, rltLayout2 gone. if i click the button (his caption is "one", i set rtl2 visible and the other gone, and the button text = two. it worked, until i added another button on the activity. i changed nothing excepts the new button? Jan 27 03:11:00 KoalaB: post code :) Jan 27 03:11:18 and layout too preferably Jan 27 03:20:07 the buttons are working Jan 27 03:20:15 seems like the ui dont refresh Jan 27 03:21:23 http://nopaste.linux-dev.org/?933793 Jan 27 03:22:25 at the first click on this button, i get the toast message. caption is set to register (i think, second click dont show toast) Jan 27 03:23:20 side note: dont do so many findViewById(). They are expensive Jan 27 03:23:47 do it once in onCreate and save a reference in your class to access them later Jan 27 03:26:11 okay Jan 27 03:30:38 me gets no emails :-( Jan 27 03:33:19 I can fwd my spam folder if you insist :p Jan 27 03:51:22 only if it includes emails of russian mail order brides :-D Jan 27 04:01:37 can you open multiple instances of android studio? Jan 27 04:09:21 you can create multiple windows Jan 27 05:06:25 what is the best practice for maintaining Constatn String value? Jan 27 05:07:36 that is used across multiple places,, is it better to keep it in strings.xml and have uses read them each time? or... is it just better to define it as constant string within java class? Jan 27 05:33:37 beaglebagel: if it's a string you're showing to the user, you want it in strings.xml. if it's a string used just for java code you can define constants Jan 27 05:34:42 strings.xml is a resource for which you can provide alternate configurations easily, e.g. translations for other languages. if you don't need that then just put it in code Jan 27 05:37:03 You can put values other than strings in resources, but what it boils down to: does this value need to be different depending on certain factors? If not, make it a Java constant. If yes, put it in your XML file Jan 27 05:37:09 wow, why did I never think of doing this sooner?? https://gist.github.com/pfn/41a1056a6f2e58a99c50 Jan 27 05:39:40 thanks, how about internal string parameters(keys), carrying around SharedPreferences? original code used to just declare these values as "param" Jan 27 05:40:04 and because these keys are used in multiple places, i thought either putting them in strings.xml or.... defining them in constants class Jan 27 05:40:33 or is it just better off leaving them as declaring whenever needed? Jan 27 05:41:08 thought i could be chasing into unnecessary details.. Jan 27 05:41:18 Do these key values ever change? Jan 27 05:42:33 not really, it's just like common convention set across project, for a certain preference it expects to store certain key/values Jan 27 05:43:40 it's not visible to users, but to use agreed upon keys across multiple places... Jan 27 05:43:50 Then no reason to make it a resource Jan 27 05:44:18 would be it better to define those as constants with proper comments? Jan 27 05:44:53 Yes Jan 27 05:45:24 i see, and do you know the efficiency of String.valueOf(R.string); ? Jan 27 05:45:49 it's reading resources, is it more costly than reading constant values? Jan 27 05:46:05 Obviously, but that's not really the point here Jan 27 05:46:05 or are these things just negligible? Jan 27 05:46:15 yea, it was just a side question Jan 27 05:46:20 Negligible Jan 27 05:46:25 ok Jan 27 05:46:43 You're not making this change for performance reasons but for design reasons Jan 27 05:48:34 right, but while doing it the performance aspect kept getting into head so i wondered Jan 27 05:50:03 Cedric, what directory structure do you for android project? Jan 27 05:50:25 right now i have /activity /model /utils, thinking of adding /fragments and etc.. Jan 27 05:50:36 That's a pretty big question, there's a lot of material out there about directory structure Jan 27 05:51:43 ok i'll search for them. just one more question, Jan 27 05:52:00 i'm so confused on what to put within /layout and what to in /drawable Jan 27 05:52:16 in drawable i see mostly .png files but along with other layout like .xml files Jan 27 05:52:36 i was wondering how to decide which component to put where Jan 27 05:52:56 is /drawable just for things with "smaller" scope? Jan 27 05:53:00 how can you be confused Jan 27 05:53:10 it is clearly documented. what goes where Jan 27 05:53:31 if you were confused between drawable and mipmap, I would understand Jan 27 05:53:56 but if you don't know the difference between drawable and layout, you need to spend time reading documentation on d.android.com Jan 27 05:55:10 Agreed, that's pretty basic and a quicl read of some tutorials should clear things up Jan 27 05:55:50 pfn: looks nice Jan 27 05:56:31 gordon_, yeah, so much better than manually fiddling with onActivityResult Jan 27 05:56:48 I did something similar for permissions Jan 27 05:57:22 I need to make website quick :P Jan 27 05:58:54 interesting, 47deg acquired macroid Jan 27 06:01:51 :O Jan 27 06:01:58 there's hope Jan 27 06:02:08 which language/s will I use if I want to make a generic android app? Jan 27 06:02:22 does android use java, or some other languages? Jan 27 06:02:35 default is java Jan 27 06:02:36 I stopped using macroid in favor of iota Jan 27 06:02:40 Java is a solid default, Kotlin is more bleeding edge but sensible too (especially for a personal project) Jan 27 06:02:55 this is all pathetic Jan 27 06:03:00 Iota is better, except for composing animations Jan 27 06:03:14 squ: What is? Jan 27 06:03:24 java & kotlin Jan 27 06:03:35 pfn: you wrote it again? Jan 27 06:03:39 What is pathetic about that? Jan 27 06:03:46 you have many stuff nobody knows about ;) Jan 27 06:03:53 gordon_, wrote what again? I wrote iota a while ago Jan 27 06:04:04 as again -> another good lib Jan 27 06:04:13 https://github.com/pfn/iota Jan 27 06:04:22 yes, looking now Jan 27 06:04:34 or Dart apparently https://flutter.io/ Jan 27 06:04:43 iota is name of greek letter ‘i’ Jan 27 06:05:19 i, k, l (iota kappa lambda) Jan 27 06:05:28 mu nu Jan 27 06:05:54 wabz: didnt know about it Jan 27 06:06:13 I don't think it's worth looking at yet Jan 27 06:06:14 for iOS and Android from a single codebase. Jan 27 06:06:20 ...... Jan 27 06:06:27 no worth at all Jan 27 06:06:43 well it's different in that it does its own rendering Jan 27 06:06:51 gordon_, yeah, I write a lot of code that I publish as oss Jan 27 06:06:52 999th attempt/rewrite of same idea Jan 27 06:07:01 so does have the potential to be very performant Jan 27 06:07:15 squ: do I know? if you write mvp right ;) Jan 27 06:07:16 very performant no doubt Jan 27 06:07:23 and look like utter shit Jan 27 06:07:23 very Jan 27 06:07:33 :) Jan 27 06:08:15 yesterday I discovered that someone decided to rewrite vim Jan 27 06:08:15 squ: no idea, smells like react-native Jan 27 06:08:18 this was shock Jan 27 06:08:27 neovim ? Jan 27 06:08:28 can't sleep now Jan 27 06:08:30 y Jan 27 06:08:59 people bored making new languages and linux distros Jan 27 06:09:10 now they got to fork utilities Jan 27 06:12:12 w[Button] >>= text("Click Me") >>= hook0.onClick(IO { Toast.makeText().show() }) >>= lp(WRAP_CONTENT, WRAP_CONTENT, 1.0f), Jan 27 06:12:24 heh Jan 27 06:13:38 > Motivations for creation Jan 27 06:13:38 > As a long time user of macroid I enjoy what it brought to layout dsl, but do not like how certain features work Jan 27 06:15:47 https://youtu.be/Np2_hZcHHVE Jan 27 06:15:48 :) Jan 27 06:16:12 http://earthobservatory.nasa.gov/IOTD/view.php?id=87395 Jan 27 06:16:51 > download large image (14 MB, JPEG, 5184x3456) acquired January 24, 2016 Jan 27 06:18:03 https://twitter.com/applenws/status/692031529866887169 Jan 27 06:18:12 > Microsoft Windows Phone chief Joe Belfiore tweets from an Apple iPhone http://ift.tt/1PPQhDi Jan 27 06:18:12 :) Jan 27 06:20:06 meh, he's on a sabbatical anyway Jan 27 06:20:22 https://twitter.com/internetofshit/status/692004889380179968 Jan 27 06:20:33 squ: Back on topic please Jan 27 06:21:06 you can do anything you want Jan 27 06:21:27 And so can you... on another channel Jan 27 06:34:45 heh - #defocus :p Jan 27 07:10:31 hi Jan 27 07:15:49 what is the difference between android.support.v4.app.fragment and android.app.fragment ....??? Jan 27 07:35:18 Is it better to use android.support.v4.app.fragment or android.app.fragment ....? Jan 27 07:39:28 If you want your app to work on more than one Android version you should use support. Jan 27 07:40:02 is it acceptable to mix and match..? Jan 27 07:41:25 SO says its to support older versions.. I am targeting 4.4 and above… http://stackoverflow.com/questions/15109017/difference-between-android-app-fragment-and-android-support-v4-app-fragment Jan 27 07:46:03 Unless you are targetting a specific device only, say a custom device, you should support older versions. Jan 27 07:48:15 use it regan Jan 27 07:48:26 even when in doubt, use the support lib Jan 27 07:52:38 unless dont use them Jan 27 08:03:22 Thanks, that is a little clearer now. Jan 27 09:07:52 pfn: how to use android-apt, goovle-services plugin with android gradle auto import plugin ? Jan 27 09:09:13 * Zharf sighs Jan 27 09:09:22 client added a story Jan 27 09:09:35 "As a user I want easy and intuitive way to hide keyboard when I'm done typing." Jan 27 10:04:06 Hi guys. I'm developing my first mobile app. Jan 27 10:04:32 Gloomy: me too Jan 27 10:04:43 Gloomy: what's your application about> Jan 27 10:05:31 Doing it for android at first. Is it easier/better/faster to directly use some cross-platform development software in order to make an iOS version as well , or first do the android version the port it, or... ? Jan 27 10:06:17 Gloomy: Native Developement is always way to go if you are beginner Jan 27 10:06:32 Gloomy: depends on the complexity of application Jan 27 10:07:03 jackhum : A ranking app (to allow people to make lists of their favorite movies/food/beer/football player/anything with different ranking criteria and options). you? :) Jan 27 10:07:22 Gloomy: kind of dating app , Jan 27 10:07:36 Gloomy: are you good in JS? Jan 27 10:08:41 Gloomy: using advanced framework like ionic , will require js knowledge, as i am a beginner , i am using native java . i dont want to get stuck somewhere in middle when using framework like ionic Jan 27 10:09:09 Are there software to directly port (with adjustments) android apps (java) to iOS (swift or obj-c)? or is the cross platform development only with separate languages? Jan 27 10:09:29 Don't know much JS. I'm better in java. Jan 27 10:10:00 Gloomy: i dont think there is something like a converter , that can convert android app to ios app . Jan 27 10:10:25 Gloomy: if you are not good in js , then go with native developement Jan 27 10:11:53 ok :-) Jan 27 10:14:02 suppose i have a app with admob on it and there is only one user of that application , and he uses that app for 24 hours , then , how many impressions will my app make / Jan 27 10:14:03 ? Jan 27 10:14:19 not enough :p Jan 27 10:14:21 Gloomy: if you know java you can write js too.... Jan 27 10:14:44 I think the default for banner ads is to refresh every 60seconds Jan 27 10:15:14 gordon_ Not that straightforward is it? Jan 27 10:15:35 that be 1440 impressions per day per user Jan 27 10:15:40 Gloomy: why ? Jan 27 10:15:51 biggest challenge is to create classes Jan 27 10:15:58 since js is such a great language Jan 27 10:16:16 gordon_ The little js I know is quite different from java (except for extremely basic stuff) Jan 27 10:16:21 it should stay animating monkeys on wweb Jan 27 10:16:43 danijoo: so you are saying that , if there is a app , that is running throughout the day , then on one user phone then it will generate about 1000 impressions ? Jan 27 10:17:17 no Jan 27 10:17:50 no user will run an app 24hrs straight Jan 27 10:17:54 danijoo Jan 27 10:18:04 danijoo: not if the user is me :D Jan 27 10:18:28 jackhum, if its you you will get that 1000 expressions on the first day Jan 27 10:18:36 and 0 expressions on the next one because you are banned Jan 27 10:19:01 danijoo: oh really , like they ban you , okay . i am just trying to do math here :D Jan 27 10:19:05 Also, impressions aren't worth anything.. You'll be paying more in electricity Jan 27 10:19:29 i will use solar chargers :D Jan 27 10:20:00 clicks is what earns you money. not impressions Jan 27 10:20:05 You'll be paying more in solar chargers Jan 27 10:20:44 so , can i automate that stuff , like i can install my app on my phone , and let my dog click ads , lol . i am overthinking Jan 27 10:21:14 yeah. 1 day long.. Jan 27 10:21:25 maybe a program , or piece of code that can generate click events , anyone have tried this / Jan 27 10:21:37 still. they are not retarded Jan 27 10:22:24 jackhum I don't think you're the first on to think of this u know :-) Jan 27 10:22:25 is there any way i can generate 1$ daily Jan 27 10:22:34 and their abuse policy is super strict. unusual amount of clicks/impressions and they will still show you ads, but you wont get payed on the end of the month Jan 27 10:22:45 Gloomy: yes , i know , but i am wondering where will this idea fall Jan 27 10:22:51 yes. by washing cars Jan 27 10:23:02 easy 1$ a day :p Jan 27 10:23:14 hahahahaha danijoo wins. Jan 27 10:23:18 danijoo: com'mon , i am better than that Jan 27 10:23:55 so , basically they have a fool proof system , Jan 27 10:23:56 then make an app thats worth to spend 1$ on Jan 27 10:24:02 I'm just going to stop this now.. Scamming ad networks out of money is off topic for this channel.. Please find somewhere else to discuss it Jan 27 10:24:37 SimonVT: okay , i wont ask other question regarding this , sorry dude Jan 27 10:26:16 was there a resource type used just for aliasing other resources? i vaguely recall there being a tag like that Jan 27 10:29:30 Hi guys! The searchview I have has a light grey-ish icon, whereas the rest of my icons on my toolbar have are completely white Jan 27 10:29:41 can't seem to change using XML Jan 27 10:31:42 rhcake, something like @layout/someOtherLayout ? Jan 27 11:03:31 jackhum: in fact, if they detect ad fraud, AdSense bans you for life, and bans anyone with your name, email, credit card or physical address from ever opening an AdSense account again. You're also banned for life from most Google services. Jan 27 11:04:36 (Or they start working worse, like half of YouTube's functions suddenly being "unavailable for this account") Jan 27 11:10:29 Hello, Im trying to create a preference with dialog (that embed a NumberPicker). (im using preference-v7) Jan 27 11:10:43 i tried reading https://android.googlesource.com/platform/frameworks/support/+/master/v7/preference/src/android/support/v7/preference/EditTextPreference.java but no success Jan 27 11:12:24 if i subclass PreferenceDialogFragmentCompat, i get error like setPositiveButtonText() missing, and if i try to subclass DialogPreference, i get error onBindDialogView() missing, Jan 27 11:14:51 what should be the right way to do it. (im trying to move my code from android-support-v4-preferencefragment (github.com:kolavar/android-support-v4-preferencefragment) to preference-v7 (android support) Jan 27 11:16:34 read EditTextPreference.java code gave me no clue to provide my own View (ie NumberPicker) to be shown. Jan 27 11:16:42 *reading Jan 27 11:17:35 kuldeep, isnt there a library for that? Jan 27 11:17:57 danijoo, for NumberPickerPreference? Jan 27 11:18:48 (basically im trying to use code [at end] http://codetheory.in/saving-user-settings-with-android-preferences/ with some decorative changes) Jan 27 11:19:51 danijoo, or was that a joke? :p Jan 27 11:20:06 no. theres are lib for everything Jan 27 11:21:04 danijoo, can you please point me to that library? i could not find such a library. Jan 27 11:22:09 try andorid-arsenal or github Jan 27 11:42:14 Is this channel active? Jan 27 11:44:58 most of the time yes Jan 27 11:45:13 alright cool :) Jan 27 11:46:11 someone here used Picasso to load images? Jan 27 11:46:44 Adyrhan, ask what you really want to know Jan 27 11:46:59 Adyrhan: me Jan 27 11:47:14 I'm trying to use fit() method to resize the picture to the dimensions of the imageview, but then it shows nothing. As if its getting 0x0 or something like it. No errors on the listener. Jan 27 11:47:36 havent used fit Jan 27 11:47:50 does the imageview has a size? Jan 27 11:47:54 but.. does your imageview have defined size? like 30dp ? Jan 27 11:48:23 it has a size after it is layed out (it says fit() delays the image request after the imageview has been layed out) Jan 27 11:48:40 Adyrhan, is your imageview wrap_content? Jan 27 11:48:45 match_parent Jan 27 11:49:00 show your xml and java code Jan 27 11:52:03 danijoo, https://gist.github.com/Adyrhan/eea638dc91930ff949dd Jan 27 11:52:51 theres no fit() Jan 27 11:52:58 ups I just removed it Jan 27 11:53:04 that's not the one :D Jan 27 11:53:11 imagine that there is a fit then:D Jan 27 11:53:33 also it might be because of recyclerview doesnt care about match_parent as child attribute Jan 27 11:53:54 I had to determine the size for my images manually when I was using it in a RecyclerView.Adapter Jan 27 11:53:56 I tried if it was because of fit. It does load them, but then errors if the pic is too big, which is why I want that fit() function to be called Jan 27 11:54:05 danijoo, hmm might be Jan 27 11:54:17 try to give it a defined size Jan 27 11:54:37 recyclerview is kinda infinite in height because of scrolling so it cant just match_parent Jan 27 11:54:40 basically I set the ImageView LayoutParams width/height to fixed size in onCreateViewHolder Jan 27 11:54:46 to the imageview you mean? Jan 27 11:54:56 ye Jan 27 12:09:15 danijoo, it appears the parent view that I get in the call to onCreateViewHolder which is the RecyclerView does have computed dimensions. I've used them to lay it out in width using the number of columns of the gridlayoutmanager Jan 27 12:18:15 hello! Jan 27 12:19:18 I have an activity with a drawer where the content is a fragment layout. How do I get the fragment to be initialized with the item that is checked by the drawer? Also, is that a bad practice? Jan 27 12:31:54 an OnClickListener is not enough? Jan 27 12:34:44 I've created a transparent/translucent activity, with just some text visible. Is there a way to programmatically take a screenshot of the whole thing? I've tried all the recommended solutions, and each time I only get my TextView on a black background, and not whatever was underneath it Jan 27 12:37:06 emulator has a screenshot tool Jan 27 12:37:28 or adb shell screencap Jan 27 12:37:57 I'm trying to do it within a program itself Jan 27 12:41:23 what is the best way to get preferences to manage a list where each item contains multiple variables? I want to be able to add url's with conditions connected (so for example: enabled(bool), onWifi(bool), ssids(string list), onMobile(bool), buffer(int) and have the program connect to the first url that matches its conditions. Jan 27 12:45:32 KaylieG: you don't have access to other UI elements Jan 27 12:45:37 only to your activity Jan 27 12:45:45 danijoo: ! Jan 27 12:46:50 thepoosh, Jan 27 12:48:19 over optimization is the root of all evil! Jan 27 12:48:24 just FYI Jan 27 12:49:20 Dammit. I've been working on this for hours now! Some company I was applying to for a job gave this as a pre-interview assignment, and they said they needed it within 2-3 hours, so I suppose I wasn't going to qualify anyway. Jan 27 12:49:34 thepoosh, sounds like you just made some experience with it :P Jan 27 12:50:06 KaylieG: you can try with a System dialog Jan 27 12:50:16 like chat heads on Messenger Jan 27 12:50:25 Or perhaps they are trying to develop spyware and after they couldn't figure it out, decided to get free code in the guise of a potential job offer Jan 27 12:50:58 I'm able to display my own UI elements over whatever the background is Jan 27 12:51:03 KaylieG: maybe try getting to the parent of Context.getWindow Jan 27 12:51:27 It's just that when I use both the ways to capture the screen, only my UI elements get captured, over a dark background instead Jan 27 12:51:32 I'll try Jan 27 12:51:47 KaylieG: we had some weird bug today Jan 27 12:51:51 *dani Jan 27 12:51:57 danijoo: ^ Jan 27 12:52:14 someone called adapter.notifyDatasetChanged before the adapter was made] Jan 27 12:52:17 I've tried getWindow().getDecorView.getRootView() and that hasn't worked Jan 27 12:55:14 that sounds intentional KaylieG Jan 27 12:55:43 I would not want an app capturing screenshots of my phone Jan 27 12:56:06 +1 Jan 27 12:56:40 True Jan 27 13:18:26 Anybody here familiar with cupboard? Jan 27 13:20:58 Nevermind, already have a solution ;) Jan 27 13:39:24 gordon_, android-apt is unneccessary, just add any apt specific dependencies as "provided", and for the google services plugin, set `resValues += (("string", "google_app_id", mobilesdk app id from Google services json)) ` Jan 27 13:41:34 Hi, I am launching the browser from via an Intent and the browser does several requests and responses. The last response triggers an intent that launches my activity. However after this process I have two instances of my activity. One which launched the intent that started the browser and one instance that seems to run inside the browser (it has the same logo and name). Can I resolve this? Jan 27 13:45:24 sorry to bother you fellas Jan 27 13:45:27 singleTask or singleTop, or singleInstance Jan 27 13:45:50 just want to ask where can I see the preferences menu in android studio Jan 27 13:46:01 I have been looking for it for the past 30 mins Jan 27 13:46:06 and I could not find where it is Jan 27 13:46:53 never mind I got it Jan 27 13:47:11 in the old android studio preferences was changed to settings in the new version of android studio Jan 27 13:51:00 how to change code of a library i am using through gradle and github Jan 27 13:55:17 right now I am using this code: NumberFormat.getCurrencyInstance().format(number) Jan 27 13:55:35 how can I make it use the US dollar symbol instead of the sterling pound in Android Studio Jan 27 13:57:14 jackhum, clone the repository and change it locally Jan 27 13:57:30 + add it as library project to your project or make a private gradle repository Jan 27 13:58:39 easyOnMe: doesn’t NumberFormat.getCurrencyInstance support passing a Locale? Jan 27 13:59:07 justJanne, yes Jan 27 13:59:27 well, then pass NumberFormat.getCurrencyInstance(whatEverLocaleYouWant) Jan 27 13:59:36 for example, Locale.US to get always US locale Jan 27 13:59:42 ok sure thanks Jan 27 13:59:46 thanks so must Jan 27 14:01:47 pfn, I don't know Jan 27 14:02:01 How do I tell the difference? Jan 27 14:02:12 choose one that makes sense for your app Jan 27 14:06:12 roel: an article about it tha might help you understand them: http://inthecheesefactory.com/blog/understand-android-activity-launchmode/en Jan 27 14:07:17 Anyone know if I have a file, if it's the mime-type that tells an app if it can open or if it's the extension? Or is it a combination of both? Example: I have an image with a .myimg extension, but I set the mime-type to jpeg. Shouldn't other apps still be able to open it based on mime type? Jan 27 14:07:49 thx Jan 27 14:09:21 Very usefull! Why didn't I find this before :D Jan 27 14:11:18 eghdk, it can be a combination of both, depends on their intent filter Jan 27 14:11:40 eghdk, and jpeg isn't a valid mime type Jan 27 14:14:24 pfn: image/jpeg is a valid mime type.. no? Jan 27 14:15:00 that's not what you typed Jan 27 14:16:55 pfn: Sorry, shorthanded it. You're right. Thanks for the catch though. Jan 27 14:17:34 Second question of the morning... I can see that I can try to detect if another app is playing audio, but is there a way to see if another app is recording audio? Jan 27 14:31:11 ugh, do dialogs always overrides the parent view's width to match_parent? Jan 27 14:32:59 I am inflating a layout resource into an AlertDialog (builder.setView(inflatedView)) and the width gets set to match_parent even if I explicitly set the width to a fixed number. Jan 27 14:45:05 yes Jan 27 14:58:47 I have some doubts about admob Jan 27 14:59:34 do you always place a request and load the add when you enter the activity where it is supposed to load the banner or so Jan 27 14:59:51 and admob time is controlled by the admob server? Jan 27 15:00:12 *refresh time Jan 27 15:12:11 Pfn what about dagger2 ? I put it AS provided but doesnt generate classes Jan 27 15:14:57 gordon_, there's a dagger lib you need to add add provided Jan 27 15:16:21 or you could use dagger1, since dagger2 sucks allegedly Jan 27 15:20:40 wow, 5x down to 299 Jan 27 15:20:43 so cheap Jan 27 15:29:51 pfn, yep. europe down to 349 Jan 27 15:56:06 is it normal to receive onPause/onResume while my application is running? Jan 27 15:56:10 it's kind of annoying Jan 27 15:56:25 it's not like if im changing activity or tabbing out Jan 27 15:56:53 DrBenway, you receive it everytime an activity comes back fully visible Jan 27 15:57:00 but thats not the case Jan 27 15:57:07 my app is just running normally Jan 27 15:57:14 screen rotation counts too Jan 27 15:57:19 and all of the suddent, onPause and onResume happens within a second Jan 27 15:57:23 my screen is locked Jan 27 15:57:29 thats not normal then Jan 27 15:57:37 any idea where it might be coming from? Jan 27 15:57:47 im suspecting the system is doing too much and needs to pause the application Jan 27 15:57:53 but even there... Jan 27 15:58:28 no. especially when its locked nothing should really happen Jan 27 15:58:46 erm, i mean locked as in i dont allow landscape Jan 27 15:58:49 only portrait Jan 27 15:58:52 locked via manifest Jan 27 15:58:59 i dont receive events about orientation chnage Jan 27 16:01:24 worst, this only happens every now and then Jan 27 16:01:44 why is it a problem though? Jan 27 16:01:47 and even more incredible... i just managed to receive and process an input event while being paused Jan 27 16:02:01 i have a gl context Jan 27 16:02:07 onpause (gl context goes away) Jan 27 16:02:08 ah isee Jan 27 16:02:20 even that assumes there's a gl context gets executed Jan 27 16:02:22 onResume Jan 27 16:02:23 b00m Jan 27 16:02:36 and there's more than that Jan 27 16:02:49 but thats my latest and greatest annoyance Jan 27 16:05:48 most people recommend to close the camera when receiving an onPause Jan 27 16:05:54 i'm receiving onPause while recording Jan 27 16:06:00 imagine the user experience Jan 27 16:06:08 "oh i'm gonna take this video..." Jan 27 16:06:11 "no you won't!" Jan 27 16:06:36 halfway through recording Jan 27 16:08:12 does it happen on multiple phones? Jan 27 16:08:50 Are there any limits to how many messages I can send to a device using GCM? Jan 27 16:09:43 loke, not on the sendind level iirc Jan 27 16:09:55 danijoo: OK, that's good to hear. :-) Jan 27 16:10:15 but googles caching will only store until 100 or so Jan 27 16:11:01 DrBenway: are you getting some other (non-rotation) configuration chagne? do you have an onConfigurationChanged() where you can do some logging to see whether you get that first? Jan 27 16:11:19 danijoo: That's OK. I was just worried that I might have to start paying for this or soemthing. Jan 27 16:11:23 danijoo: does it happen on multiple phones? <-- this app is s6 only Jan 27 16:11:25 pfn: thanks, I will check it now Jan 27 16:11:45 duboisj: DrBenway: are you getting some other (non-rotation) configuration chagne? do you have an onConfigurationChanged() where you can do some logging to see whether you get that first? <-- nope Jan 27 16:11:53 anyone none that im listening for Jan 27 16:12:17 you don’t have the method or you have it and it’s not called? Jan 27 16:12:35 DrBenway, I mean different s6 phones then. Jan 27 16:12:53 i mean: is it a bug of your app or not. Jan 27 16:13:06 it's hard to tell. Jan 27 16:13:11 it happens very randomly Jan 27 16:13:26 the others dev might not be looking for it and might just see it as the program crashing Jan 27 16:14:39 so you are handling every possible configuration change already Jan 27 16:16:30 hithere Jan 27 16:16:31 I am trying to hide preference, accordingly to some answers from stack it should work using .removePreference(...), but it does not? Jan 27 16:16:31 My preferences.xml http://pastebin.com/iFix8533 Jan 27 16:16:31 In "public class SettingsFragment extends PreferenceFragment implements SharedPreferences.OnSharedPreferenceChangeListener {" in onCreate(...) I am calling "getPreferenceScreen().removePreference((ListPreference) findPreference("PREF_ListPreference"));" Jan 27 16:16:31 Any idea why it does not work? Jan 27 16:20:05 be specifix Jan 27 16:20:13 pfn: even if I put libraryDependencies += "com.google.dagger" % "dagger-compiler" % "2.0.2" % "provided" Jan 27 16:20:24 to build.sbt it cannot create dagger classes Jan 27 16:20:29 am I missing something ? Jan 27 16:22:44 gordon_, dunno, but worked for this simple test https://github.com/pfn/protify/issues/9 Jan 27 16:25:31 pfn: probably something like separate build step is neede Jan 27 16:25:33 d Jan 27 16:26:01 dagger has no. separate build. step Jan 27 16:26:06 it's an annotation processor Jan 27 16:29:49 pfn: ok, I think I got it Jan 27 16:30:20 I manually edited 00-gradle-generated.sbt and put Jan 27 16:30:22 SettingKey[scala.collection.Seq[sbt.ModuleID]]("libraryDependencies") += "com.google.dagger" % "dagger-compiler" % "2.0.2" % "provided", Jan 27 16:30:24 into it Jan 27 16:30:39 that shouldn't be necessary, you added it to the wrong file then Jan 27 16:31:06 yes, I followed your building steps for u2020 on gist Jan 27 16:31:08 eg, it would go into app/build.sbt, not build.sbt Jan 27 16:31:17 u2020 doesn't have appm Jan 27 16:31:20 app/ Jan 27 16:31:27 pfn: ok, I will put my build.sbt into app Jan 27 16:31:41 thought it will add dep globally if I add it in root Jan 27 16:33:52 pfn: looks good, I just need to that gcm thing Jan 27 16:39:48 yeah, add resValues into build.sbt Jan 27 16:44:35 it was caused by PreferenceCategory as I thought http://stackoverflow.com/questions/4081533/how-to-remove-android-preferences-from-the-screen Jan 27 16:49:55 pfn: using gradle import plugin, I need to add proguard.pro myself / Jan 27 16:50:44 gordon_, yeah, gradle doesn't expose it properly Jan 27 16:50:50 it's filed as a bug for google Jan 27 16:50:56 ok, Jan 27 16:51:20 I'm writing everything down, so hopefully it will be usefull later Jan 27 16:51:56 gordon_, proguardOptions += IO.readLines(path to proguard.pro) Jan 27 16:52:05 er ++= Jan 27 16:52:28 and useProguard in Android := true ? Jan 27 16:53:27 [NewApi] src/main/res/drawable/ic_add_24dp.xml:1: requires API level 21 (current min is 16) or building with Android Gradle plugin 1.4 or higher Jan 27 16:53:33 it's vector drawable Jan 27 16:53:51 how can I create png from it / Jan 27 16:54:41 it's generated automatically Jan 27 16:54:52 assuming you're on the latest version of the plugin Jan 27 16:55:19 I have to filter out the lint warning manually though Jan 27 16:55:34 you Jan 27 16:56:18 https://github.com/pfn/qicr/blob/master/lint.xml Jan 27 16:56:57 well I get warning [warn] UPDATE: A newer android-sdk-plugin is available: 1.5.14, currently running: 1.5.13 when using autoimport gradle Jan 27 16:58:26 that's fine, pull in a newer version explicitly Jan 27 16:58:42 I haven't updated android-gradle-build in a while Jan 27 17:01:52 vector drawable support was added in 1.5.9 Jan 27 17:04:41 pfn: https://gist.github.com/pfn/2c58af65505cb9b8dee1 Jan 27 17:04:52 how do you suprass this lint error ? Jan 27 17:05:45 I posted above already Jan 27 17:06:00 https://github.com/pfn/qicr/blob/master/lint.xml Jan 27 17:06:15 ah, sorry didnt saw that Jan 27 17:07:45 seems like i got a package Jan 27 17:07:51 let's check it it works on phone Jan 27 17:13:06 pfn: WORKS Jan 27 17:13:10 thank you Jan 27 17:16:12 yeah, I use the vector drawable support in qica Jan 27 17:16:21 qicr, and it runs on gingerbread Jan 27 17:19:10 I commented the issue from guy who have had problem with dagger2 Jan 27 17:19:19 maybe he will notice and you can close the issue Jan 27 17:19:51 now need to sleep, thank you once again Jan 27 17:20:08 thanks, I'll close it, I forgot. it's. been sitting there forever Jan 27 17:32:30 MessageQueue.next is taking up a lot of time for some reason, I don't know if this is normal behavior or not, though Jan 27 17:42:56 Is there an easier way to delete strings from strings.xml for multiple translations then going into every file by hand Jan 27 17:43:02 http://i.imgur.com/WsnzSYJ.png Jan 27 17:47:24 there's some way to unescape a json string?, I getting an error cause this: {\"invite_code\":\"83e0f5\"}, probably I should try .replace("\\", ""), there's no other way? Jan 27 17:48:10 nebiros, where does this json come from? Jan 27 17:48:31 a server shouldnt send jsons this way Jan 27 17:48:47 danijoo, an sdk that cannot handle JSONObjects, so it casts those as String Jan 27 17:49:16 is it under your control? Jan 27 17:49:22 danijoo, yeah, is not the server, is some kind of metadata that comes from other place Jan 27 17:49:25 s73v3r, nah, :( Jan 27 17:49:34 maybe you are lucky and Gson handles this for you. if not, theres no way arround replace(..) Jan 27 17:49:39 https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/205 Jan 27 17:49:46 I add an issue for that Jan 27 17:49:47 XD Jan 27 17:50:01 danijoo, k, thank you, :) Jan 27 17:54:56 https://github.com/lihaoyi/sourcecode -- sweet, I'm gonna add that into my commons library logcat Jan 27 17:55:22 I wish there were a good place to put line numbers in logcat, though :( Jan 27 17:55:29 rather than prefixing messages with line # Jan 27 17:56:47 is there some kind of restrictions in android regarding connecting to locally hosted sites? I can connect to my webserver hosted on my desktop with LAN ip from every other device on the network except the android phone Jan 27 17:57:11 works fine Jan 27 17:57:22 hey All Jan 27 17:57:45 hmm.. well right now my setup is: webserver hosted on desktop, works fine on laptop, doesn't work on 2 android phones that are on the same Wifi as the laptop, with the same subnet Jan 27 17:57:58 and I'm not seeing an attempted connection on the webserver Jan 27 17:58:09 from both my app and from just regular old chrome browser Jan 27 17:59:08 should it be possible for app on emulator to use Google Nearby Messages <--> Device on same LAN > Jan 27 18:00:21 Hello guys, I am a noob in programming, I know nothing about Java, little about object programming concept Jan 27 18:00:30 would you guys recommend this course? https://fedora.bitfountain.io/courses/android Jan 27 18:00:47 just confirmed with an iPhone.. literally only android phones wont connect to my webserver Jan 27 18:00:49 I would like to learn programming for android. Jan 27 18:00:54 I'll try a 3rd one Jan 27 18:02:09 latrina i'll suggest to start java a bit first Jan 27 18:02:30 maybe tutorials by thenewboston(a youtube channel) can help.. Jan 27 18:02:38 they are good.. Jan 27 18:03:22 Latrina Jan 27 18:03:29 Latrina also has some free / official udacity courses ... Jan 27 18:03:39 I was in your place 14 months ago and now i’m a professional developer Jan 27 18:03:53 http://mooc.fi/courses/2013/programming-part-1/ Jan 27 18:04:06 g00s I checked the free udacity course but they assume you know the basic of java Jan 27 18:04:09 which I dont Jan 27 18:04:15 http://mooc.fi/courses/2013/programming-part-2/ Jan 27 18:04:20 learn java first Jan 27 18:04:22 Biscuits, glad to hear that Jan 27 18:04:26 Latrina, thats because you need java first Jan 27 18:04:30 you don’t have to be an expert in java. just learn it Jan 27 18:04:33 Latrina, oh, thought that was a website Jan 27 18:04:38 because that's a terrible fucking name :P Jan 27 18:04:47 pfn hehe Jan 27 18:04:58 basic knowledge of java helps a lot in android Jan 27 18:04:58 Biscuits, will give it a try, thank you :) Jan 27 18:05:16 That what i doing. Jan 27 18:05:20 take those two courses. they’re self-paced, and your code is constantly tested Jan 27 18:05:34 pfn: are you absolutely sure this is supposed to work? I've tried 3 android phones and none of htem work, but all other wifi connected devices including an iPhone work fine. I've also found a few people on google with similar issues and they're told its due to androids handling of NAT Jan 27 18:05:50 in the bitfountain android immersive course they are supposed to teach you both java and android API's at the same time Jan 27 18:06:08 andr3wmac, works fine Jan 27 18:06:09 I got a $60 discount, but still $89 is a little too pricy for me Jan 27 18:06:19 then why does it not work fine? haha Jan 27 18:06:19 the helsinki courses are free Jan 27 18:06:21 Biscuits, is it free? Jan 27 18:06:23 cool Jan 27 18:06:24 yeah Jan 27 18:06:31 will do them than Jan 27 18:06:31 it’s VERY good Jan 27 18:06:33 thanks :) Jan 27 18:06:38 I don't know how much more of an objective test I could do than 4 different phones, 2 laptops and 4 desktops. Jan 27 18:06:43 the only ones not working are android specifically Jan 27 18:06:52 o.O Jan 27 18:06:57 Latrina,Have you thought of joining a android group in your area? Jan 27 18:07:06 probably because you're doing something wrong, but you explain nothing about your environment or what you're trying to access, andr3wmac Jan 27 18:07:36 python SimpleHTTPServer, accessing it from chrome browser on android Jan 27 18:07:44 perlsyntax I live in Mexico City I am not sure if there are any Jan 27 18:07:54 and btw even though I live here I don't speak Spanish that well Jan 27 18:08:06 why would you live in mexico city... Jan 27 18:08:06 :P Jan 27 18:08:16 i see Jan 27 18:08:17 its not a bad place I am telling you Jan 27 18:08:23 How can I do a link in an xml text view similar to a normal href so it doesnt expose the url per se? Jan 27 18:08:40 Latrina if you don' mind pollution ;) Jan 27 18:08:43 anyways 3 reasons, 1 its compatible with my health issue, 2 my gf is from here, 3 good for IT business Jan 27 18:08:49 g00s, oh that kills me Jan 27 18:09:08 Latrina,I learning on my own to.:) Jan 27 18:09:12 but I rarely ever go out during peak time and I live nearby one of the biggest park in Mexico Jan 27 18:09:32 https://github.com/pfn/qicr/blob/master/src/main/scala/com/hanhuy/android/irc/ActivityResultManager.scala Jan 27 18:09:37 ah, that's better Jan 27 18:09:56 any way to do lickable text i a textview xml? how? Jan 27 18:14:30 Calguy: I'm guessing android handles tongue presses the same way as normal touch events Jan 27 18:15:12 okay but a more serious answer: does overriding onClick() work? Jan 27 18:16:07 you can't set html to a textview directly in xml Jan 27 18:16:12 that is all, carry on Jan 27 18:16:23 so I'm creating a ContentProvider Jan 27 18:16:33 do I also need to create a custom ContentResolver? Jan 27 18:16:51 no Jan 27 18:17:08 contentresolver just maps a uri to your content provider Jan 27 18:18:21 pfn: thanks Jan 27 18:38:26 hello guys, i am looking for good libary (only in java) to analyze packet like this -> https://code.google.com/archive/p/netutils/ and i cant use it - it prin. it doesnt work good for mr and i dont need capture Jan 27 18:39:15 does someone can suggest for good library to analyze any type of packet, i need it for reconstruct the packet Jan 27 18:40:55 its been a while since i've used cursor Jan 27 18:41:23 do I need to subclass cursor? which class do I use or which do I subclass? Jan 27 18:41:26 there are a ton of cursors Jan 27 18:44:39 how can i have a bunch of textviews next to each other horizontally it doesn' tseem to be working if the above textview has multiple lines Jan 27 18:57:32 Calguy, try to put all these textviews inside their own RelativeLayout Jan 27 19:02:33 which resolution does res/layout use? Jan 27 19:02:42 none Jan 27 19:02:53 it's the default unless another qualifier supercedes Jan 27 19:03:06 hmm Jan 27 19:03:32 I'm getting some lint warnings about res/layout and my hdpi and xhdpi being out of sync Jan 27 19:03:54 so I guess I should fix the layout to reflex the others Jan 27 19:03:58 reflect* Jan 27 19:26:03 guys someone know good tcp packet library to analyze tcp packet? Jan 27 19:29:50 Why is it so hard to get source folders to show up in Android Studio? :\ if only it had the module settings from intellij Jan 27 19:29:56 i can't get src/test/java to show up Jan 27 19:31:08 ahh got it Jan 27 19:31:15 needed to change test artifact to Unit Tests Jan 27 19:34:29 It's not offered since it generally wouldn't compile if it's not setup in gradle correctly. Jan 27 19:34:45 Which is why there is only one way to do it, using the source sets. Jan 27 19:40:03 fair Jan 27 19:48:15 which Cursor do I want to use/subclass? Jan 27 19:48:41 I dunno if I need to create a custom cursor or if I can reuse one Jan 27 19:48:50 there are a ton of different Cursors Jan 27 19:49:38 and there are docs for all of them. Jan 27 19:51:31 usally something returns a cursor Jan 27 19:51:35 like ur database Jan 27 19:53:09 trying to make a content provider Jan 27 19:53:39 theres no database involved, just some key/value pairs. Jan 27 19:54:00 the yes. you must subclass Jan 27 19:54:17 okey doke. AbstractCursor or Cursor? Jan 27 19:54:58 You can just use MatrixCursor Jan 27 19:57:35 RustySha1kleford don't even need a cursor for that. look at ContentProvider#call() Jan 27 19:57:58 hey guys, i got a problem. sometimes (@activity change often) my app crashs with outofmemory exception. how to get rid? Jan 27 19:58:28 i got 40 images @drawable, all together got a size of 6.8mb Jan 27 20:00:14 KoalaB, shrink the images Jan 27 20:00:19 thanks g00s and SimonVT. Both of those look promising Jan 27 20:00:33 KoalaB, http://developer.android.com/training/displaying-bitmaps/load-bitmap.html Jan 27 20:01:08 RustySha1kleford btw, what are you using for your underlying k/v store ? Jan 27 20:01:12 shrink more? oO Jan 27 20:03:15 read the link Jan 27 20:04:00 it seems that Runtime.exec() ignores LD_LIBRARY_PATH when passed via the environment. Is there an alternative that just works? Jan 27 20:04:34 i wonder how 3d games can display hundreds of mb images. and here, exception with 6mb lol Jan 27 20:05:22 g00s: sharedPrefs Jan 27 20:05:29 I know this is sorta hackish Jan 27 20:05:39 lol why ... Jan 27 20:05:44 why no dataabse? Jan 27 20:05:55 i mean ok for shareprefs, for some things - but why put content provider over it ? Jan 27 20:06:21 to share our preferences with the new release that has a different package name Jan 27 20:08:20 perhaps theres a better way, but I can't think of one. I'm trying this as an experiment Jan 27 20:08:57 KoalaB: 6 mb on disk != 6 mb in memory Jan 27 20:09:11 Bitmaps are 4 byte per pixel Jan 27 20:09:47 so 1mb background is to big? Jan 27 20:09:53 RustySha1kleford: fwiw I wrote a contentprovider to use SharedPrefs between two processes (with MatrixCursor) and it wasn’t bad. Under 200 lines, works OK so far. Jan 27 20:10:07 Scale bitmaps to the size they're displayed Jan 27 20:10:23 "1 mb" says nothing about how much memory it will use Jan 27 20:11:04 i dont know the resolution of the devices. also i dont know how big a imagebutton is (at this moment its weight is 0.2) Jan 27 20:12:03 KoalaB, but you can calculate it at runtime (or let a library do that for you) Jan 27 20:12:13 I suggest to look into glide or picasso. they can fit the image for you Jan 27 20:14:59 danijoo: matrixcursor looks perfect Jan 27 20:15:24 RustySha1kleford, I think you wanted to highlight simon Jan 27 20:17:41 actually it was duboisj Jan 27 20:24:40 RustySha1kleford, you can share preferences with another app, no content provider needed Jan 27 20:25:08 only use a content provider if you're sharing a cursor Jan 27 20:25:10 no reason to otherwise Jan 27 20:41:25 pfn "Note: currently this class does not support use across multiple processes. This will be added later.", i guess thats not correct any more ? Jan 27 20:42:01 pfn: how is that? Jan 27 20:42:21 there is something like userShareId in the manifest Jan 27 20:42:54 which would be perfect if we had already set it. But changing it now is not an option Jan 27 20:43:31 x/window 8 Jan 27 20:43:37 oops Jan 27 20:57:44 g00s, no, it means multiprocess applications Jan 27 20:57:48 g00s, not about sharing between processes Jan 27 20:57:54 between applications, rather Jan 27 20:58:06 thgere's no synchronization/isolation for concurrent use Jan 27 20:58:43 and stuff like notifications don't work in multiprocess Jan 27 20:58:48 but you don't need that sort of shit typically anyway Jan 27 20:58:49 whats the best approach for uploading images without losing resoltuion, image multipart? Jan 27 20:59:23 there's nothing about uploading images that affects resolution Jan 27 20:59:24 pfn: any hints on how to share sharedPrefs between applications? Jan 27 20:59:27 totally independent question Jan 27 20:59:31 RustySha1kleford, googling answers that Jan 27 20:59:39 are you referring to sharedUserId? Jan 27 20:59:43 RustySha1kleford, no Jan 27 21:00:26 mode_world_readable? Jan 27 21:00:36 pfn: ok but if i convert image to base64 thats processor intensive right? Jan 27 21:00:39 i've done lots of googling, lots of dead ends Jan 27 21:01:08 RustySha1kleford, that's one part of it, yes Jan 27 21:01:18 RustySha1kleford, context.forPackage("package").getSharedPreferences() Jan 27 21:01:30 something like that Jan 27 21:03:09 seems like it was deprecated a few api's ago Jan 27 21:03:16 RustySha1kleford: if concurrent use of both applications is possible, be sure not to overlook the fact that there’s no syncronization built in to make that work. Jan 27 21:04:33 it was never deprecated Jan 27 21:04:37 so its deprecated... that means the functionality is still there and just discouraged? Jan 27 21:04:40 what are yout alking about Jan 27 21:06:44 the MODE_WORLD_READABLE constant was deprecated in api 17 Jan 27 21:07:27 no idea what you're talking about, but ok Jan 27 21:07:28 does anyone have a favorite network connection testing tool? Jan 27 21:07:53 ping -c 3 google.com Jan 27 21:08:14 RustySha1kleford, i want to test a reliability of a socket though Jan 27 21:08:19 oh, on getSharedPreferences Jan 27 21:08:22 meh, doesn't matter Jan 27 21:08:39 I could try it. Jan 27 21:08:52 but the docs for that constant recommend a contentprovider Jan 27 21:09:04 RustySha1kleford: If you’re trying to make your app world-readable, the shareduserid should make that unnecessary. Jan 27 21:09:20 (I would think - I haven’t actually gone down that road) Jan 27 21:09:26 (for shared preferences) Jan 27 21:10:22 Tweaking app theme. I would like to have same colours for checkbox, progressBar, radiobutton, basics... Some of those elements works in API21+, problem is with lower API's. I have found some guides (for example http://stackoverflow.com/questions/10135499/android-checkbox-style), but I am not sure which way to go. How do you tweak those elements in your apps? Jan 27 21:10:38 RustySha1kleford, take recommendations with a grain of salt Jan 27 21:11:07 duboisj: problem is that we don't have sharedUserId set, so a default userid is created Jan 27 21:11:45 if we set sharedUserId now, the user would have to uninstall and then reinstall the new release Jan 27 21:11:59 sharedUserId breaks app upgrades Jan 27 21:12:36 yeah, if you have an existing app in the field and want a second one to share prefs with, and didn’t specify shareduserid before you released the first, I think you’ll be unable to just use sharedprefs by accessing the same .xml file directly from both apps. Jan 27 21:12:59 I think your approach of writing a contentprovider is reasonable in that case Jan 27 21:17:07 world_readable works fine Jan 27 21:17:12 and isn't going away any time soon Jan 27 21:17:16 revisit when N or later come out Jan 27 21:22:22 I have a contentprovider somewhat working atm Jan 27 21:22:45 I think I'll press on Jan 27 21:26:24 this clickdroid ransomware is pretty obnoxious. thankfully not on Play store ;) threatens to send your browsing history to your contacts :D Jan 27 21:26:36 *lockdroid Jan 27 21:30:20 https://youtrack.jetbrains.com/issue/KT-10751 Jan 27 21:30:22 seriously Jan 27 21:30:29 this change was not documented at all... Jan 27 21:31:40 how to parse multidimensional arrays with json? 1dimensional is just json.getstring.. but i got {a=b, c=d},{a=b, c=d},{a=b, c=d}, Jan 27 21:35:48 * pfn publishes kotlin-plugin 0.9.3 Jan 27 21:46:36 i started to use android Jan 27 21:46:43 i have to say i like it Jan 27 21:47:00 yes, let the hate flow through you Jan 27 21:47:01 but well probably still pain in the ass to develop for Jan 27 21:47:14 well android 5 is not that crappy anymore Jan 27 21:47:17 like the last versions Jan 27 21:49:32 Ashiren: what do u mean Jan 27 21:51:50 Save my soul people, I am getting Task 'build' not found in root project from gradle Jan 27 21:53:26 there's no such task as build Jan 27 21:55:37 confession, I did cp /dev/null settings.gradle Jan 27 21:55:46 you’re thinking of assemble Jan 27 21:56:33 I seem to have fixed it by adding in my settings.gradle include ':app' Jan 27 21:56:39 Weird build system Jan 27 22:00:37 * pfn shrugs Jan 27 22:00:40 gradle sucks, what else is new Jan 27 22:01:09 nothing in that case pfn :'( Jan 27 22:01:42 What are you on pfn for building apks Jan 27 22:03:08 I have used sbt exclusively for the last 4 years Jan 27 22:04:06 but I also don't use android studio Jan 27 22:04:52 How about going extra Googley and building with Bazel? (I tried setting up Bazel at home, and it was rather quirky.) Jan 27 22:05:10 bazel is not a suitable build system for android Jan 27 22:05:17 maybe when it matures Jan 27 22:05:33 Hey, they've got a "Build an Android App" tutorial. Jan 27 22:06:05 you can do that for any build system Jan 27 22:06:12 pretty easily Jan 27 22:06:34 Yes, but not every build system has built-in rules like android_binary. Jan 27 22:07:11 (It's also got the mobile-install thing.) Jan 27 22:07:24 can do that in 4 lines or so: mkdir ~/.sbt/0.13/plugins; echo 'addSbtPlugin("com.hanhuy.sbt" % "android-sdk-plugin" % "1.5.14")' > ~/.sbt/0.13/plugins/android.sbt; sbt "gen-android android-23 com.example Foo"; sbt android:run Jan 27 22:07:27 instant hello world Jan 27 22:07:40 bazel works great for android Jan 27 22:07:46 been using it more and more lately Jan 27 22:08:26 does it now Jan 27 22:08:37 rules were pretty basic last time I looked Jan 27 22:09:32 ok Jan 27 22:09:56 Well, mobile-install is pretty fancy. And judging from http://bazel.io/docs/mobile-install.html it's used to build Maps, Google+ and the YouTube apps, which probably aren't terribly basic. Which is not to say all of what's used to build those things would've made it to Bazel. Jan 27 22:10:42 https://github.com/bazelbuild/bazel/commit/6c6c89239b74e3cf1c45c551d7eedd8d0e44f816 Jan 27 22:10:45 ooh, I should kang that Jan 27 22:11:00 that's a missing thing in my setup Jan 27 22:13:21 pfn: I don't use Android Studio either Jan 27 22:13:31 Because either Chrome or Android can have RAM Jan 27 22:14:05 JakeWharton what improvements have you found in bazel vs gradle? Jan 27 22:14:11 bazel is not shit Jan 27 22:14:12 it's fast Jan 27 22:14:13 :P Jan 27 22:14:13 gradle is shit Jan 27 22:14:36 Looney, emacs + ensime is pretty decent as well Jan 27 22:15:13 I use gradle + vi Jan 27 22:15:17 :'( Jan 27 22:15:46 Earlier it was ant + vi Jan 27 22:16:31 Looney: what do you use to debug your applications? not very many well supported stand alone debuggers for java AFAIK? Jan 27 22:17:05 I rely on good ol' Log.d :-( Jan 27 22:18:20 yikes man, logs are all good for some stuff but if you're looking for a humdinger you gotta have a debugger haha Jan 27 22:18:52 jdb works fine Jan 27 22:18:55 yeah, going without a debugger is like doing trapese without a net. you’re just trying to prove something Jan 27 22:19:26 pfn: yeah ive used that for debugging too but it makes for tedious editing of the .jdbrc Jan 27 22:20:10 Looney: i also do my android dev in vim so was curious Jan 27 22:24:26 yeah, but it's workable Jan 27 22:24:33 there's probably some other debuggers Jan 27 22:24:37 jvisualvm might have something Jan 27 22:26:57 yeah true Jan 27 22:27:03 cheers ill check it out :) Jan 27 22:28:29 I have a class that use SQLLiteDatabase to query data. Is it weird to wrap all querry attempts with a try catch ? Jan 27 22:37:01 but it's best to debug from IDE, I suppose Jan 27 22:37:13 falcom, it is absolutely weird if it doesn't throw any checked exceptions Jan 27 22:37:47 what's wrong here? cursor.moveToPosition(-1); while(cursor.moveToNext()) { ... } Jan 27 22:38:03 the loop stops before the last row instead of after Jan 27 22:39:17 i mean i have methods to do getX(), getY(), each function queries the db. It's seems like alot of boilerplate code Jan 27 22:41:01 because you don't move to position -1 Jan 27 22:41:02 what is the best method to play an audiostream in an android phone? the audiostream will be downloaded and the android will play it like a radio sort of thing. I have the audio file in mp3 but its ok for me to server side render/convert it to something else? Jan 27 22:41:21 links and/or explanation would be much appreciated Jan 27 22:41:31 google Jan 27 22:41:33 has lots of links Jan 27 22:42:50 any specific links u can show me? Jan 27 22:44:19 pfn: you are incorrect. You want the currect row to be behind the first row Jan 27 22:48:41 nevermind thats correct actually. Its giving me the rows in a different order than I expected, thats all Jan 27 22:50:12 http://stackoverflow.com/questions/6283568/online-radio-streaming-app-for-android Jan 27 22:50:31 this file lists how to do it. and thats fine but I was wondering what type of music file type does the server have to have? Jan 27 22:52:13 RustySha1kleford, yes, you move to first Jan 27 22:55:17 pfn: behind first. Otherwise the first call to moveToNext() takes you to the second row Jan 27 22:56:07 no, you use moveToFirst Jan 27 22:57:25 if (!c.moveToFirst()) return; while (c.moveToNext()) getData(c) Jan 27 22:58:02 it's on first by default, I suppose Jan 27 23:01:00 Is there a conventional way for Retrofit to fill out an object with related objects that require extra network calls? Like a Book API that returns {title: ‘something’, authors: [1,2,5]}, I want the Book to have its authors filled out with the real objects. Jan 27 23:02:06 That's an application-layer desire Jan 27 23:02:21 (Assuming you need to make API calls for each author ID) Jan 27 23:02:33 So, I have to do that on my own, is what you’re saying Jan 27 23:02:41 Yes Jan 27 23:02:52 Gotcha, thanks Jan 27 23:03:07 Retrofit is just the conduit for single API calls Jan 27 23:10:47 TacticalJoke Nim in Action https://manning.com/books/nim-in-action Jan 27 23:12:39 Looks neat. Jan 27 23:17:17 g00s, is that something you helped author? Jan 27 23:17:25 truckcrash no ... Jan 27 23:17:38 haha. ok then i have to ask, why do we need another language? Jan 27 23:17:49 i have been working on a book though Jan 27 23:17:59 On which topic, g00s? Jan 27 23:18:06 BT on Android Jan 27 23:18:18 truckcrash: Most of the current languages suck. Jan 27 23:18:26 Almost all, IMO. Jan 27 23:19:02 TacticalJoke, would there be any exceptions that you would consider good examples of languages? Jan 27 23:19:35 Rust and Kotlin look nice. Jan 27 23:19:57 Swift and C# too ;) Jan 27 23:20:03 and clojure, maybe idris Jan 27 23:20:23 Julia is interesting for its space Jan 27 23:20:34 Basic is pretty cool Jan 27 23:20:43 C# is all right, but I think it gets a lot of things wrong (e.g., its handling of null). Jan 27 23:20:47 s73v3r yeah especially the version with line numbers Jan 27 23:21:07 10 PRINT YEAH! Jan 27 23:21:09 20 GOTO 10 Jan 27 23:21:12 \o/ Jan 27 23:21:20 And later versions of C# added features that made the language feel weird (a great example was the `dynamic` keyword). Jan 27 23:22:00 but of course, the crappiest languages spread like kudzu .. Jan 27 23:22:44 I keep meaning to look at Koltin. One of these days. Jan 27 23:22:51 anyway. I'm off now Jan 27 23:22:54 byeee Jan 27 23:25:40 I really enjoyed programming in Delphi (previously known as Object Pascal), but I think it was mainly the IDE and framework. :D Jan 27 23:25:52 The language was verbose with its `begin`s and `end`s. Jan 27 23:26:28 The assignment operator was cool, though: `foo := bar;` versus `if (foo == bar)`. Jan 27 23:26:32 better than if ... fi :) Jan 27 23:27:06 Is that Bash? Jan 27 23:27:15 :D Jan 27 23:27:30 also known as that thing i type random symbols into until stuff works Jan 27 23:27:57 just don't type :(){ :|:&};: Jan 27 23:28:34 Oh, Pascal used `=` (not `==`) for equality tests. I forgot. Jan 27 23:28:50 and := for assignment Jan 27 23:30:47 my language progression was kinda silly. basic (atari, apple ][, gwbasic, qbasic), pascal / x86 assembly, C (on *nix), everything else Jan 27 23:37:43 No Fortran 95? :D Jan 27 23:38:20 fortran included with everything else, sadly. (freaking linear algebra libraries) Jan 27 23:38:54 Fortran is one of the least enjoyable programming languages ever. It actually feels worse (somehow) than assembler. Jan 27 23:39:31 Just looking over the Wikipedia page makes me feel sick. Jan 27 23:39:51 hi. how do you handle payments in your apps? I've read about: http://developer.android.com/training/in-app-billing/index.html but it talks about product. I need to process payments that depend on what do you select, so i don't have "fixed" product, simply because i don't know what the user will select. Any ideas? Jan 27 23:40:00 I've read about the paypal sdk and stripe sdk, what do you think about them? Jan 27 23:41:45 I find rust interesting, if I need to do native development Jan 27 23:42:56 savage dev Jan 28 00:01:08 so the Android compiler is telling me that it can’t build because it found some already defined attributes. but I cannot find where this duplication is happening at all Jan 28 00:02:15 Which attributes? Jan 28 00:02:45 custom attributes Jan 28 00:03:10 I've had clashes with AppCompat before. Jan 28 00:03:17 i’ve tried grepping in the intermediates directory, but I can’t find more than a single definition Jan 28 00:03:46 the issue only arose after I started putting productFlavors in the build.gradle. Without them, it builds just fine Jan 28 00:06:56 TacticalJoke if i have something like android:background defined (differently) in both a style and theme, and apply style="xxx" and android:theme="yyy" to the /same/ view, is the precedence documented (which one wins?) Jan 28 00:07:49 there is an attirbute with the same name in a different library Jan 28 00:08:20 s73v3r that sucks :( Jan 28 00:08:44 but what I’m not understanding is why this appears with the product flavors, and not without them Jan 28 00:09:05 especially cause right now, the different flavors don’t actually have anything in them; i’m just trying to get the build working Jan 28 00:10:05 g00s: I think the style wins, but I'm not sure. Also not sure whether it's documented. Jan 28 00:10:22 There is this: https://chris.banes.me/2014/11/12/theme-vs-style/ Jan 28 00:11:06 well, it’s a custom attribute made with declare-stylable in one of my sub-project libraries Jan 28 00:12:22 * pfn ponders what to do Jan 28 00:12:30 I want to do something rx-like, but don't feel like importing rx Jan 28 00:13:36 TacticalJoke yeah, have seen that ... Jan 28 00:14:29 well, you’re gonna go back and forth for an hour or two deciding whether rx is worth it to import, or if you can build it yourself, you’re gonna spend at least half an hour or more trying to find other libraries that do just the part you want, but they’ll all kinda be the same Jan 28 00:14:49 style= wins Jan 28 00:15:02 style replaces attributes on current element Jan 28 00:15:11 android:theme overlays a theme onto your Theme Jan 28 00:15:17 locality wins Jan 28 00:15:33 pfn cool, thanks Jan 28 00:16:53 * pfn ponders using scala.rx Jan 28 00:16:53 so I grepped for the attribute name that the build claims is already defined. I then reverted the change of adding productFlavors, cleaned, and ran again. when grepping, I get the exact same output Jan 28 00:17:41 it's because your product flavor duplicately has a dependency somehow Jan 28 00:17:52 a path is listed twice, so aapt treats it as duplicate Jan 28 00:18:58 depending on which attribute it says is duplicate, then that's the lib you have a dupe of in path Jan 28 00:19:40 would be nice if attrs defined in aars had some kind of namespacing ... Jan 28 00:19:48 would it likely be in the main build.gradle, or the build.gradle of the subproject? Jan 28 00:20:04 maybe package:attr Jan 28 00:20:05 figure out which attr it says is duplicate first Jan 28 00:20:16 based on that, you can determine which library Jan 28 00:20:19 and then search your build.gradles Jan 28 00:20:26 it told me the two attr it believes are duplicates Jan 28 00:20:40 probably some place in intermediates/ Jan 28 00:20:45 only 2? sounds like a subproject then Jan 28 00:20:57 but you can figure out which project defines the two, then figure out why it says duplicate Jan 28 00:21:18 probably because you have something like include :lib in settings.gradle and compile :lib in build.gradle Jan 28 00:21:34 i did have a set of mockCompile and prodCompile lines where I include the subprojects, and one of the prodCompile lines erronously had the configuration as mockRelease Jan 28 00:23:02 "Oracle plans to deprecate the Java browser plugin in JDK 9" Jan 28 00:23:12 no one uses it Jan 28 00:23:15 jnlp is better than applets Jan 28 00:30:52 is there a way I can tell aapt to tell me where it saw the path listed previously? Jan 28 00:34:53 run gradle in verbose mode Jan 28 00:34:57 it'll tell you the aapt commandline Jan 28 00:40:10 you mean —debug? Jan 28 00:41:50 well, that does get it, along with lots of other stuff Jan 28 00:44:25 i have that command, but I don’t see any duplicate paths among it’s parameters Jan 28 00:44:50 Hey so I have a view page adapter and followed this code http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/ Jan 28 00:45:38 However, I am trying to figure out how to associate the fragments to be inflated within the activity framelayout, not sure how to specify the container since I am not using a fragment transaction, anyone know how to go about this? Jan 28 00:50:07 s73v3r, run the same exact command Jan 28 00:58:42 how annoying, github is down Jan 28 00:59:31 quite Jan 28 01:01:22 #pray4github Jan 28 01:01:36 running that command didn’t tell me anything I didn’t already know. it tells me a file in which the attribute is in, and that it’s already been defined Jan 28 01:01:45 but I’m looking for the other place it was apparently defined in Jan 28 01:01:59 pastebin output of command plus commandline Jan 28 01:02:43 github down... Jan 28 01:06:35 Anyone ever made a live wallpaper app Jan 28 01:06:39 here you go http://pastebin.com/HrW5zYqq Jan 28 01:07:38 which package defines centered and strokeWidth Jan 28 01:08:40 content-catalog Jan 28 01:09:50 grep -rw strokeWidth launcher/build Jan 28 01:11:04 it looks like you oversanitized, the options don't make sense Jan 28 01:11:11 -I /Users/me/Library/Android/sdk/platforms/android-21/android.jar Jan 28 01:12:03 http://pastebin.com/eDsezJV0 Something is driving me crazy in these layouts I have a space above the image in the fragment layout... that is pushing it down half the screen... why? Jan 28 01:12:13 are you saying it shouldn’t be using the android.jar? Jan 28 01:12:20 I don't recall Jan 28 01:13:07 I guess that's right Jan 28 01:13:08 in the grep output, I do see a few places where it says only place it could be duplicated is there... /Users/me/projects/app/app-android-launcher/launcher/build/intermediates/res/merged/mock/debug Jan 28 01:15:15 only reason it would throw such an error Jan 28 01:15:16 * pfn shrugs Jan 28 01:16:21 finally purchased a nexus 5. I couldnt stand the bait of the 80 Euro price reduction :/ Jan 28 01:16:28 you mean 5x Jan 28 01:16:29 5x Jan 28 01:16:31 yeh Jan 28 01:16:33 yeah, so tempting Jan 28 01:16:35 I might buy one Jan 28 01:16:46 * frankdrey is trying to avoid it :p Jan 28 01:16:52 I should be happy with my moto g Jan 28 01:17:01 I might buy it just to take advantage of tax write offs Jan 28 01:17:08 and save another $100 Jan 28 01:17:59 same here. Its not that much for german taxes though\ Jan 28 01:18:01 http://stackoverflow.com/questions/35051240/layout-pushing-down-content if anyone can answer that please Jan 28 01:18:10 ~ 60 euro i think Jan 28 01:18:11 wasted hours messing around with the layouts no idea what is causing it Jan 28 01:18:59 Lonesoldier728, your post is worthless without pictures Jan 28 01:19:51 yeah kk Jan 28 01:19:54 ill add one Jan 28 01:20:27 Lonesoldier728, have you attached a Hierarchy viewer ? Jan 28 01:21:03 What do you mean by that danijoo Jan 28 01:21:08 to see if its part of the fragment or activity Jan 28 01:21:34 Lonesoldier728, Dump the view hierarchy with android device monitor to investigate whats going on Jan 28 01:21:48 is MVP design in vogue between you? Jan 28 01:25:17 overusing MVP is bad Jan 28 01:25:31 but it seems useful for certain cases Jan 28 01:26:32 pfn check it out http://stackoverflow.com/questions/35051240/layout-pushing-down-content Jan 28 01:26:33 danijoo, I am still trying to find a good example of real app where it is useful Jan 28 01:26:34 has image now Jan 28 01:26:53 ventura, its useful for complicated responsive guis Jan 28 01:26:56 so the problem is the chicken image is halfway down the screen? Jan 28 01:26:57 presenter vs cursorloader Jan 28 01:26:58 ventura: it’s useful generally when you want to make your app more testable Jan 28 01:27:11 where you dont want your activity being filled with 500 lines of ui code callbacks Jan 28 01:27:30 my activity is empty Jan 28 01:27:46 ventura, presenter vs cursorloader -> I choose none of them Jan 28 01:27:48 Lonesoldier728, so damn hard to read your post, jumble of xml Jan 28 01:27:50 i only trigger service, intentservice, and other activities from it Jan 28 01:28:20 and the update happens throuh cursoradapter or recycleradapter Jan 28 01:28:40 sorry it is basically a toolbar for the action bar, then the tabs toolbar then the activity xml which the fragment xml is then inflated within Jan 28 01:28:52 one use case = one service Jan 28 01:29:19 ventura, theres a thrid option which is Rx :)\ Jan 28 01:30:14 I will use only after reading Marting Odersky paper Jan 28 01:30:39 otherwise, i will make observables spaghetti Jan 28 01:31:19 its ugly as shit with java anyways :p Jan 28 01:31:26 because no lambdas Jan 28 01:32:33 yes, but you said it politely Jan 28 01:32:50 danijoo how do I dump the view for the specific screen? Jan 28 01:33:07 i was trying to use the mterial from the coursera course in real applicatoins and it was impossible Jan 28 01:33:33 Lonesoldier728, http://bfy.tw/3xTG Jan 28 01:34:45 lol Jan 28 01:37:09 I did that the thing is I just see a black screen so figured I need to dump it somehow ... this is the errorhttp://pastebin.com/zGjexmYW Jan 28 01:37:12 http://pastebin.com/zGjexmYW Jan 28 01:54:18 why would you need to read an odersky paper for rx Jan 28 01:56:44 thanks Slither, I have to move things from up down solved it Jan 28 01:57:33 hey, i got a multiline edittext. the cursor blinks pink. how to chance that? border was pink too, i removed it with background #00000000 Jan 28 01:57:52 No problem LoneSoldier728, glad I could help Jan 28 02:00:40 KoalaB, i think cursor takes colorAccent Jan 28 02:00:51 thanks, ill try it Jan 28 02:01:10 another question. is it possible to disable fullscreen tastatur on landscape? Jan 28 02:01:28 then english word is keyboard :p Jan 28 02:02:13 :D:D Jan 28 02:02:21 sorry, im tired Jan 28 02:02:41 if you disable it, how can someone enter text? Jan 28 02:03:17 i want to disable the white box above the keyboard Jan 28 02:03:34 ah I understand Jan 28 02:03:34 just show the keyboard, it uses the half of the screen Jan 28 02:03:36 no idea :/ Jan 28 02:07:41 stackoverflow rocks. got this solution if anyone is interested: just add android:imeOptions="flagNoExtractUi" to xml file ^^ Jan 28 02:14:02 <_genuser_> g00s: how's \my science believing fellow dev? Jan 28 02:14:17 eh, since github is down - all the packages for Atom are unavailable :D Jan 28 02:14:21 _genuser_ ok and you ? Jan 28 02:14:58 <_genuser_> doing good. trying to motivate myself to finish my app. Jan 28 02:15:04 ha Jan 28 02:15:12 Is it DDOs again? twitter seems to have no info :/ Jan 28 02:15:21 <_genuser_> I'm trying to look in here now and then and be around developer conversations and stay motivated. Jan 28 02:15:24 danijoo @githubstatus Jan 28 02:15:35 dunno Jan 28 02:15:38 g00s, thats what i mean with no infos :) Jan 28 02:16:07 <_genuser_> I have the app basics down. I have a todo list where I'm tracking what needs done, but I just haven't sat down at AndroidStudio to actually do that. Jan 28 02:16:10 i'm not doing any dev atm, instead creating NV red and NV green color schemes for my app :D Jan 28 02:16:35 It's times like these that I regret I never configured a VPN to my house. I need to get to my work last night. Jan 28 02:17:05 loke_, store it on github :D Jan 28 02:17:14 danijoo: Exactly. :-) Jan 28 02:17:19 That's what I did. Jan 28 02:17:19 _genuser_ maybe you need to take a break and do something else Jan 28 02:17:34 loke_, I think its only the frontend that down Jan 28 02:17:41 I can't git pull Jan 28 02:17:43 github - making your decentralized version control system centralized :D Jan 28 02:17:44 i pushed successfully Jan 28 02:17:54 or at least it told me it was successfull.. :S Jan 28 02:18:00 <_genuser_> g00s: lol, I'm on a break. trying to get back lol. I'm just enjoying doing music stuff. and watching netflix, and drawing. so it's just other fun stuff keeping me away. Jan 28 02:18:01 I get the following message when tryign to git pull: Jan 28 02:18:02 " GitHub is offline for maintenance. See http://status.github.com for more info. Jan 28 02:18:03 " Jan 28 02:18:14 maybe they rooted my push to /dev/null :D Jan 28 02:18:19 <_genuser_> g00s: but I also want to try to release the app and see if people lik eit. Jan 28 02:18:25 routed* Jan 28 02:18:35 Perhaps push works but pull don't? Let me try. Jan 28 02:18:40 <_genuser_> loke_: bitbucket might be your backup. just suggesting it. I use that and it's pretty cool. Jan 28 02:18:54 _genuser_: Yes, but that won't help me now Jan 28 02:19:09 i only move between my laptop and working station with github fortunatly Jan 28 02:19:13 I think what I will do in the future is to set it up so that I always push to a machine in my own DMZ in parallel to Github Jan 28 02:20:26 or push to GitTorrent :p Jan 28 02:20:34 <_genuser_> loke_: true that. I was just throwing out some that _might_ help if you're interested. I'm certainly not looking to do one of those github vs bitbucket debates, lol. Jan 28 02:21:34 OK, getting error even when pushing. Does it still work for you danijoo? Jan 28 02:21:35 <_genuser_> loke_: few years ago I had an ssh(I believe)/ssl/mercurial setup where I could push over ssh. I am trying to remember whether it was apache. Jan 28 02:21:43 <_genuser_> loke_: so push to home computers might be a good idea too. Jan 28 02:21:50 loke_, just closed AS to go to sleep :/ Jan 28 02:21:53 _genuser_: You can do that without any web server. Jan 28 02:22:02 danijoo: I just got the the office. Jan 28 02:22:13 <_genuser_> loke_: yeah then it was probably just the sshd/ssl/mercurial. Jan 28 02:22:21 loke_, definitly not my timezone ;) Jan 28 02:22:24 Thankfully, this is not my primary project. Jan 28 02:23:09 danijoo: Probably not. It's 10:23 here. Jan 28 02:24:39 3.34 am.. Jan 28 02:26:12 The best time to be up. Jan 28 02:32:27 Yay. Github is back./ Jan 28 02:33:22 * _genuser_ goes to github. Jan 28 02:33:32 <_genuser_> I'm in a webchat that doesn't have nick autocompletion. Jan 28 02:33:34 <_genuser_> oh geez. Jan 28 02:45:05 oh Lightroom 6.4 Jan 28 02:58:17 I know this is kind of a stupid question, but here goes. I've got a list displaying a bunch of Items, and they're all different subclasses of Item with different little features and information displayed. Will adding more subclasses have any effect on performance of the app? Jan 28 02:58:31 It seems like that shouldn't make a difference. **** ENDING LOGGING AT Thu Jan 28 02:59:58 2016