In the previous wing jun did a high imitation of the circle of friends open source project. Because the server is rented ali Cloud, 108 months, so three months can not support it. Then close…


Recently, I happened to be free. I studied LearnCloud and BMob, and finally decided to use BMob to replace the previous server. Recently, I have been doing data transfer.


For the circle of Friends project, the code structure will change dramatically due to the data migration, so I decided to start all over again (the written controls will be optimized).


The direction of this reconstruction mainly includes the following points:


1. From ListView to RecylerView, the interaction design is still according to the standard of iOS version (to be honest, the interaction of wechat Android version is really not as good as that of iOS)


2. Data structure optimization to reduce excessive Javabeans (initial prediction is only 3 to 4 entity classes).


3. Further optimize and abstract the ViewHolder of RecylerView to make it easier to read.


4. The view function optimizes the atlas browsing, so that the ViewPager is no longer in the same layout as the timeline.


5. Introduce account system, expect to be able to post moments (later plan).


6. Small video function (in the later stage, if there is no accident, iJK of station B should be used).



This refactoring will naturally be committed in the original repository, but the master branch code will not be changed until it is complete, and the new code will be committed to the main-dev branch and merged into the main branch.


As for the article, I will not update it again if it is the same implementation principle. This time, I will only share the new implementation.


Finally, I will never give up the circle of Friends project. Even though I don’t have much time every day after work, I will still make it step by step. Not one step in place, but good quality.


Finally, thank you for your support and attention to the high imitation open source project in Moments of Friends. I have no plan to gain anything by this project, but I sincerely hope that if you have good opinions or ideas, you can submit the pullRequest. Even if you only modify a comment, it will be your biggest support to me