I spelled SOLID in all caps because it’s also an acronym which stands for Single Responsibility, Open Closed Principle, Liskov Principle, Interface Segregation and Dependency Inversion Principle - these are principles for object oriented design which was popularized by Robert C. Refactoring is basically rewriting and improving your source code without creating new functionality this practice helps keep the code SOLID, DRY (don’t repeat yourself) and hence, easier to maintain. If you click “Finish” on “Import Sample” dialog, Android Studio will create a new project locally and download the sample file from GitHub so you can take a closer look at it and work on right away. When you click Next, you’ll see dialog that’s somewhat similar to when creating a new project, as shown in figure 2. Let’s say I’d like to learn something about the Autofill Framework - like what you see you in figure 1, you can see a preview of what it looks like, and you can also click on the “Browse in GitHub” link. What you see in figure 1 above is a list of code samples you can either browse or create as a local project. You can get to this feature from the main menu bar of Android Studio, choose File > New > Import Sample. The Import Sample feature can save you a lot of time. One way to boost your productivity and save time is to learn how to create things and discover how they work in Android Studio. We won’t go into detail that’s not the goal, but rather just to show you what’s available in Android Studio. In this section, we’ll take a peek at some of what Android Studio has to offer give our productivity a little boost. What we usually mean when talking about productivity is that we want to do what we need to do in the shortest possible time that means keyboard shortcuts, templates, snippets etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |