Office Hours — Today, May 28

Thursday, May 26

May 28
7:20 PM
Mark M.
has entered the room
Mark M.
turned on guest access
7:30 PM
Joshua C.
has entered the room
Mark M.
hello, Joshua!
how can I help you today?
Joshua C.
Hello, Mark.
Well, today I'm trying to implement a custom LayoutParams in my custom Layouts.
Now, as I understand, in addition to creating the class itself as a public static class in the Layout for which it is the params, I need to override 3 functions in the Layout itself...
generateLayoutParams, checkLayoutParams and generateDefaultLayoutParams, correct?
Mark M.
:: shrug ::
I have never implemented a custom ViewGroup that needed its own LayoutParams
Joshua C.
The documentation on this subject is pitiful.
7:35 PM
Mark M.
this is one of the reasons why I have never implemented a custom ViewGroup that needed its own LayoutParams :-)
Joshua C.
Hmm..
It is proving tricky indeed.
Oh well, figured it was worth asking. I'll keep poking around.
Mark M.
sorry
7:40 PM
Mark M.
7:50 PM
Joshua C.
has left the room
8:05 PM
Ron T.
has entered the room
Mark M.
hello, Ron!
how can I help you today?
Ron T.
HI!
We are using Studio with SVN and are having trouble 'ignoring' files/directories...
We think that the ignores for SVN are kept in the workspace.xml, is that true?
Mark M.
:: shrug ::
8:10 PM
Mark M.
I haven't used SVN in ~15 years
8:10 PM
Ron T.
What do you use?
Mark M.
git
and not using IDE integration
Ron T.
Moving to git is not possible for us at present (too much to learn w/ Studio).
Mark M.
understood
Ron T.
Do you know what else is kept in Studio's workspace.xml?
Mark M.
well, generally, it's stuff that gets synchronized from external sources, like build.gradle
taht
Ron T.
We see that it is NOT recommended to be stored in a repository but we feel it is our only shot at fixing our problem. As for build.gradle...
We are just now implementing buildVariants and making pretty good progress although judging by the SO comments it is still a bit rough. Any tips from you?
Mark M.
well, since Studio is built on IntelliJ IDEA, and since I doubt they have done much, if anything, special for SVN in Studio, I'd see what the SVN/IDEA recommendations are
I'm not sure what you're looking for tips on, specifically
from my vantage point, build types and product flavors are easy enough, until you start getting into trying to do lots of custom tasks with them
and I haven't had a need for flavor dimensions yet, so that might add some complexity that I haven't encountered
Ron T.
Is seems that Android has made major changes in the Gradle/Groovy language in the last year or two.
Mark M.
if you mean the Android plugin DSL, yes, that's a moving target
8:15 PM
Ron T.
We are not using dimensions at present nor are we writing our own tasks...
Yeah, the DSL is what I'm talking about.
As for Studio, is there any definitive documentation on what the IDEA directory holds and what the responibility of the sub directories/files are?
Mark M.
for build types and product flavors, I cannot think of a substantial DSL change since 1.0 or thereabouts
Studio itself probably does little to nothing with those files, beyond what IDEA does
and generating them from build.gradle, etc.
so, I'd focus on IDEA docs, for the version of IDEA that lines up with your version of Studio
as to whether IntelliJ has docs for this, I haven't a clue
though on the whole, they have more documentation than I'm used to from tool vendors
Ron T.
Okay, that is all I have for now! Thanks for the info. Over and out!
Mark M.
sorry I couldn't be of greater assistance
Ron T.
No problem, I read alot of your replies on SO!
Ron T.
has left the room
8:25 PM
Mark M.
turned off guest access

Thursday, May 26

 

Office Hours

People in this transcript

  • Joshua Chambers
  • Mark Murphy
  • Ron Thomas