I'm working my way threw a couple of books on android programing with a friend of mine (So I guess you'd kind of call this homework?) We have come across code segments like the following example a number of times and I have never fully understood the segments, just mindlessly used it. Would someone have the time to break the example into a couple of lines NOT held together with the "dot" operator? I've tried a bunch of times and I'm pulling my hair out over it and I'm old enough that I don't have much hair left. 

```
View v = getActivity().getLayoutInflater()
    .inflate(R.layout.some_dialog,  null);

return new AlertDialog.Builder(getActivity())
    .setView(v)
    .setTitle(R.string.some_dumb_title)
    .setPositiveButton(android.R.string.ok, null)   // null can be On Click Listener
    .create();

```

Maybe a pointer to some web pages that uses simple lines of code to do the work. I know the way it is written is more efficent but seeing it laid out as seperate lines would make it much easier to understand and more important, easier to debug.