Jin Cuiadd vs replace fragment in FragmentActivity (Note)I am confusing on FragmentTransaction’s add and replace method which both are used for attach a fragment to activity, well I lied it’s not…Sep 25, 2018Sep 25, 2018
Jin CuiBuilder pattern & static factory methods (Note)Builder pattern use for building a complex class step by step. A code exampleSep 12, 2018Sep 12, 2018
Jin CuiAndroid MVP gibberishMVP is a deviation of MVC, presenter is the “middle-man” between view and model, that being said, view never directly communicate to model.Sep 11, 2018Sep 11, 2018
Jin Cuia use case of awk (note)use awk to extract text and append text around the desired field.Sep 6, 2018Sep 6, 2018
Jin CuiAndroid Service, IntentService (Note)Service is used to perform a long-run task, but it is not running on background thread by default, it’s developer’s job to spawn a thread…Aug 31, 2018Aug 31, 2018
Jin CuiAndroid Navigation launchMode/IntentFlags (Note)Caution: It’s a reading/learning note, any statement here could be wrong.Aug 22, 2018Aug 22, 2018
Jin CuiRetrofit 用法记录最近在android项目里使用了retrofit库,方便简单,写出来的代码感觉特别的clean。在这里记录下用法,然后写下碰到的一个坑。Mar 29, 2016Mar 29, 2016