?
A word sharing: feel that food is not good to eat do not eat, because the brain will remember the taste, so that you form a habit, getting worse.
Overview: Write here I have started to suspect that this project is not a File Manager project ... I just looked at a few pictures of GitHub's homepage on this project, seemingly just a project to view PDF and Doc documents. This is bad English and not to translate the wrong bar. There is still one fragment class left to deal with. I have already written the method name in this non-processed class.
Spit The Trough: The original project is really bad to write. All squeezed together into a piece, inner class, internal interface, these things are more than one.
I have always resented this writing, because when I was a beginner, I ate a lot of losses on this. So now I write my own code will subconsciously avoid the centralization of code, or a change, it will become a disaster.
But at present this project I experience is not very deep, until after writing to understand the whole project structure, and then try to optimize it. If you can.
Open Source project Address: Https://github.com/dibakarece/AndroidFileExplorer
Ide:android Studio
Other tools: notepad++ View Code
The class that was not finished yesterday is finished today.
Writing this class actually makes me reap a lot. First of all, the word proficiency has improved a lot. Wrote many times many times layoutparams, resulting in my fingers now seem to remember the word, a keyboard can not stop. It's so scary.
In fact, the most important thing is to add an interface dynamically, compared to the static in the. Xml to modify, Add. This experience of writing the interface in. java I actually do not have at all. And this time, I learned a lot.
Also, the original author even his own wording is not unified. See the code comment slot fragment.
Although not aware of dynamic add interface, but such a good photo is annoying. Look forward to finding a simpler wording.
?
And then the final protagonist, the magnum opus with a code amount of up to 543 lines. is absolutely the core of the application core. At present I just put the method name all finished, it has reached 121 lines.
My guide package is not the same as the original author, I am the default app package, and the original author is the package under support. This makes a lot of people headache because of the difference between V4 and V7.
?
Finally, the activity is not dealt with in this context. The fragment class also carries logical operations in addition to the operation of the interface. So I said earlier, I don't think it's appropriate to write.
?
Activity class is now complete, but look good has what effect. It's just a bundle of fragment. There's nothing to see here.
Let's talk about today's work.
Still found that the RDA platform is relatively simple to do a lot, although C + + is not very familiar, but a cottage frame is nothing. Today, the RDA code is not more than 20 lines, the team leader did not come to see. It took me half a day to write that Layoutparams class. I found that I could not submit code on the company's computer to GitHub above, the network is on the one hand, as if the version is wrong or how.
In the end I will be relieved, will be the dormitory rewrite it again. Anyway, the technical level is not high, more copy point code is always good. Now it's so cold in winter, it's good for you to exercise your fingers.
Today I wrote this summary found that I still wrote hundreds of lines of code today, Android side. If you do not calculate the format class wrapping, about 100 more lines. The progress of the day is actually good.
Tomorrow Friday, oh, today ...
We still have to go to work in Saturday, so unscrupulous enterprises.
Think about it, if it were not for the unscrupulous enterprise, I guess now is still like in the school that every day doing nothing, can not find the direction of learning or simply lazy to think, too lazy to write code.
So you have to see the positive side.
I'll know everything when I get my diploma and find a job next year.
Right!
In the future I will add a word to share every day, today this sentence to think it is really reasonable.
Mutual encouragement, good night!
Android File Manager project (iii)