Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoannie Huang
6,195 PointsAbout look up the Android API
Hi teacher, Ben Jakuben:
In this video, I think the steps run very quickly. I want to know more about more steps while you design/build the code.
1). How do you know what kind of API you should look up? (e.g: DialogFragment). (You will inquiry the Google first? or you will look into the Android API docs to search if there is any API existed?)
2). After getting into the API, how did you know what kind of "method" can achieve what you want? (e.g. builder.setPositiveAPI can set the button..)
I would like to acquire some of experience by you because now while I was about to generate some code, I don't have an idea how to start it.
Thanks!
/Joannie
1 Answer
ian sobo
3,851 PointsI'm just here to add my support to this. I think personally, it just comes from experience. I think after we're done with this course, we'll go off and make our own apps. In the course of making our own apps, things will occur where we want to do something, but have no idea how. So, we go off and search it on google, ask on stackoverflow, here, or look around in the API guides in the android developer site.