Copy Code-android file Browse Project (iv)

Source: Internet
Author: User

?

A word of sharing: When deciding to learn an open source project, be sure to fully understand the project's finished product.

Overview: Write more than 300 lines of code today. This project, and then the project failed.

This project is a failed project and cannot be run.

Well, really. Have failed.

I was copying the project according to other people's projects.

At first, I was very distressed every day, because life could not see the future.

Personal technology is very slag, but uneasy status quo, fear of the future not.

at that time, I was shining Google of the Android Training to learn. But the learning effect is very not obvious, so I need a more radical approach.

So I think of the copy code, in the copy code to learn.

Then the first project that was copied failed.

This project I spent five days to copy, daily work back to the dorm will be 1.1 points of the code, every day 2--4 hours of time spent on top.

I firmly believe that this kind of pay is in return, but it does not seem to be.

because the project is extremely dense, the coupling is too high. Finally all the logic is written into a Fragment .

At the end of the day there were more than 200 lines of code left, I gave up.

Because the 300 lines of code above the cursor I can understand is too little, so it can only be copied.

So, there are some gains.

Finally I chose to copy the code directly, but I knocked it out and copied the root can not run. so I've imported the author's code. found out I was wrong in the beginning. The degree and function of this project can be achieved. So, there is still some frustration.

So, the next time you copy the code must run a bit, look at the function. Don't go on the handwritten, it's no result.

Well, the next project, I would still choose to copy the code, and then enrich Git Library, write a blog every day.

?

Let's summarize the harvest:

  1. The next open source project will certainly not be like this.
  2. The biggest aspect of Ascension is the speed of typing, English is not very good, but the Chinese can be achieved all-blind hit. It's been a tough couple of days.
  3. I must go back to school to get my own mechanical keyboard after my laptop keyboard won't last long.
  4. I hate high-coupling code.
  5. the next project is Android Notepad app that can record text, pictures, videos, and other information.
  6. The next one should be interface optimization and transduction, and I'll try to put my own project on the shelves.

?

Today is here, really tired good tired.

The body was as tired as a spare.

Copy Code-android file Browse Project (iv)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.