“Live up to the time, the creation of non-stop, this article is participating in 2021 year-end summary essay competition”
preface
This is my first year-end review, and this year marks a milestone in my open source career. Review your goals and accomplishments.
The goal is 2021
Although last year did not issue a year-end review flag, but I have made some goals.
GitHub pure shared open source library received 1K starsRead at least two technology-related booksContribute five articles to the public account- Learning Jetpack Compose
- Thanksgiving plan
All of the major goals were achieved this year, with GitHub’s most difficult goal of earning 1K stars being successfully achieved and reaching 1.1K stars.
I decided to get 1K stars purely from the open source library, which opens up a difficult mode. Because I don’t have the influence and fan base of some big names, I only got 200 stars last year, and I have to raise 800 stars this year, which is really difficult. Still, it feels hopeful to see the stars count increase a little bit. It was really exciting to see panel data go from 900 + to 1K at the end of the year!!
Plans to learn Jetpack Compose have been put on hold because I’m focused on maintaining GitHub to meet my goals. In addition, the gratitude plan is that individuals want to thank some people who are not around them but who help them a lot according to their own interests and hobbies. They will spend a lot of personal spare time, but also shelved it first. I hope this can be written in the summary next year.
About making
The library that currently has the most stars for individuals is ViewBindingKTX, which has almost 400 stars. I never thought this would be my most used library. At the time, the library was written simply because wrapping a ViewBinding used Kotlin’s syntactic sugar, which was not available in Java. There are definitely more Java users than Kotlin users, and I can’t possibly give up Java users. That’s why we’ve written a library that supports wrapping ViewBinding into the base class with minimal code, so that Java users can happily use ViewBinding as well.
I was surprised to see 2.5K monthly downloads of the library recently. All the other libraries have the same number of downloads as stars, but this library has the highest number of downloads.
When I searched for ViewBinding on GitHub, I realized that my library was in the first place. Although the number of stars is not the highest, but there are bright spots. While other libraries make ViewBinding easier and use it the same way, mine is “the most comprehensive ViewBinding tool.”
There are many features not found in other libraries, such as encapsulating base classes for Java use, automatically setting the DataBinding lifecycleOwner, and seamlessly switching between DataBinding. And I can adapt BRVAH with ViewBinding without affecting the original code, using my own original plan.
It is estimated that there are a lot of foreign friends to search my library and have in use, scared me quickly to fill the English document. I didn’t have a good idea of how to balance the Documents in English + Kotlin and Java, so I chose to give up the English documents and just have a simple English README. Some time ago, I studied docsify, which can write beautiful documents. It is very simple to use, and it is very convenient to divide Chinese and English. If you need to write documents, you can use it.
Although the ViewBindingKTX library currently has the most stars, the other library that I’m most satisfied with is Longan. This is the Kotlin tool library THAT I spent the most time writing. I’ve been writing it off and on for almost a year now, and I feel like I can handle it, so I share it. There are over 300 commonly used methods or attributes that can improve development efficiency. The response was good, and it was the fastest time I broke 100 stars.
About writing
Contributed 5 articles to Guo shen’s official account this year, one of which was recently listed on the Nuggets’ best articles list. It was a bit of a surprise to win the nuggets’ prize for the first time.
I have always wanted to write a series of articles with a personal touch, and I am relatively good at encapsulation, so I will choose some encapsulation topics and also promote my own library. However, this topic is not easy to talk about, and I also have some content to share, so IT took me a lot of time to write each one. Each one has more than 3,000 words, and at least five or six thousand words for revision. However, after finishing the writing, I was satisfied with it and basically expressed my own views and ideas.
About open source
“We’ve received a lot of help from the open source world, so we’ve always wanted to do something valuable to give back.” This is Lao Luo said, this sentence has been deeply influenced by me. Android has a lot of great open source libraries like Retrofit and Jetpack, as well as good ones written by individuals that make development very convenient. I’m really grateful for that and I hope I can write some good open source libraries to help others someday.
There is another sentence that has influenced me for a long time. It is a sentence that Stay said in a class about encapsulation a long time ago, “We need to be lazy in the way of programmers, not CTRL + C V, but encapsulation”. Maybe not exactly, but something like that. After Stay showed the charm of encapsulation, this sentence was deeply engraved in my mind. Maybe everyone knows this, but most people don’t know how to do it. I don’t know, but I’ll keep trying. At first, I just imitate, and then I often think about how to encapsulate better.
Gradually, I formed the habit of thinking about how to package when CTRL + C V, and I had some perfect plots, thinking about more things, and gradually I would have some of my own packaging ideas. After settling for a long time, I felt that some things were well encapsulated, so I began to share some libraries that I felt satisfied with in the past 20 years, hoping to help others. I finally made some achievements this year with 1.1K stars and felt like I was really doing something worthwhile to give back to the open source world!!
The outlook for 2022
Next year’s goal hope is to continue efforts, so set up the flag:
- Sticking to open source, GitHub gets 2K Stars
- Read at least three technology-related books
- Contribute 10 articles to the public account
- Learning Jetpack Compose
- Thanksgiving plan
- Stick to weekly review and planning for the next week