fragmentHomeColor = (TextView) view.findViewById(R.id.fragment_home_today_color);
fragmentHomeNumber = (TextView) view.findViewById(R.id.fragment_home_today_number);
fragmentHomeMoney = (TextView) view.findViewById(R.id.fragment_home_today_money);
fragmentHomeLove = (TextView) view.findViewById(R.id.fragment_home_today_love);
fragmentHomeLuck = (TextView) view.findViewById(R.id.fragment_home_today_luck_content);
<BUG>final SwipeRefreshLayout swipeRefreshLayout = (SwipeRefreshLayout) view.findViewById(R.id.fragment_home_swipe);
swipeRefreshLayout.setColorSchemeResources(R.color.google_blue, R.color.google_red, R.color.google_green, R.color.google_yellow);</BUG>
swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {

fragmentHomeColor = (TextView) view.findViewById(R.id.fragment_home_today_color);
fragmentHomeNumber = (TextView) view.findViewById(R.id.fragment_home_today_number);
fragmentHomeMoney = (TextView) view.findViewById(R.id.fragment_home_today_money);
fragmentHomeLove = (TextView) view.findViewById(R.id.fragment_home_today_love);
fragmentHomeLuck = (TextView) view.findViewById(R.id.fragment_home_today_luck_content);
swipeRefreshLayout = (SwipeRefreshLayout) view.findViewById(R.id.fragment_home_swipe);
swipeRefreshLayout.setColorSchemeResources(R.color.google_blue, R.color.google_red, R.color.google_green, R.color.google_yellow);
swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {
