Buggy code:
public class ProfileActivity extends BaseActivity implements ObservableScrollViewCallbacks { private static final float MAX_TEXT_SCALE_DELTA = 0.3F ; private ImageView mCover ; private CircleImageView mAvatar ; private TextView mNickname ; private ObservableRecyclerView mTweetList ; Account mAccount ; private View mImagePanel ; private int mParallaxImageHeight ; private TweetAdapter mTweetAdapter ; private int mFlexibleSpaceImageHeight ; private int mActionBarSize ; private TextView mTitleView ; private View mListBackgroundView ; private View mOverlayView ; private void findViews ( ) { } private void setBackgroundAlpha ( View view , float alpha , int baseColor ) { } @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( activity_profile ) ; findViews ( ) ; mFlexibleSpaceImageHeight = getResources ( ) . getDimensionPixelSize ( flexible_space_image_height ) ; mActionBarSize = getActionBarSize ( ) ; getActionBarToolbar ( ) . setBackgroundColor ( getResources ( ) . getColor ( transparent ) ) ; mTweetList . setScrollViewCallbacks ( this ) ; boolean pauseOnScroll = false ; boolean pauseOnFling = true ; NewPauseOnScrollListener listener = new NewPauseOnScrollListener ( ImageLoader . getInstance ( ) , pauseOnScroll , pauseOnFling ) ; mTweetList . setOnScrollListener ( listener ) ; mTweetList . setLayoutManager ( new LinearLayoutManager ( this ) ) ; setBackgroundAlpha ( getActionBarToolbar ( ) , 0 , getResources ( ) . getColor ( color_primary ) ) ; mOverlayView = findViewById ( overlay ) ; final View paddingView = new View ( this ) ; AbsListView . LayoutParams lp = new AbsListView . LayoutParams ( LayoutParams . MATCH_PARENT , mFlexibleSpaceImageHeight ) ; paddingView . setLayoutParams ( lp ) ; paddingView . setClickable ( true ) ; mTitleView = ( ( TextView ) ( findViewById ( title ) ) ) ; mTitleView . setText ( getTitle ( ) ) ; setTitle ( null ) ; Account account = AccountUtils . getDefaultAccount ( ) ; AVRelation < Tweet > relation = account . getRelation ( "likes" ) ; <START_BUG> AVQuery < Tweet > query = relation . getQuery ( ) . include ( "images" ) . include ( POSTER ) . orderByDescending ( "updatedAt" ) ; <END_BUG> query . findInBackground ( new FindCallback < Tweet > ( ) { @ Override public void done ( List < Tweet > list , AVException e ) { mTweetAdapter = new TweetAdapter ( ProfileActivity . this , list , true ) ; mTweetAdapter . setHeader ( paddingView ) ; mTweetList . setAdapter ( mTweetAdapter ) ; mTweetAdapter . updateItems ( ) ; } } ) ; mTitleView . setPivotX ( 0 ) ; mTitleView . setPivotY ( 0 ) ; mAvatar . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { startActivityForResult ( new Intent ( ProfileActivity . this , PickPhotos . class ) , 0 ) ; } } ) ; mListBackgroundView = findViewById ( list_background ) ; final View contentView = getWindow ( ) . getDecorView ( ) . findViewById ( content ) ; contentView . post ( new Runnable ( ) { @ Override public void run ( ) { mListBackgroundView . getLayoutParams ( ) . height = contentView . getHeight ( ) ; mAccount = AccountUtils . getDefaultAccount ( ) ; if ( ( mAccount ) == null ) { startActivity ( new Intent ( ProfileActivity . this , LoginActivity . class ) ) ; } else { ImageLoader . getInstance ( ) . displayImage ( mAccount . getAvatar ( ) , mAvatar ) ; ImageLoader . getInstance ( ) . displayImage ( "assets:////bg_default_cover.png" , mCover ) ; mNickname . setText ( mAccount . getNickName ( ) ) ; onScrollChanged ( 0 , false , false ) ; } } } ) ; } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } @ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { } private int getActionBarSize ( ) { } @ Override public void onScrollChanged ( int scrollY , boolean b , boolean b1 ) { } @ Override public void onDownMotionEvent ( ) { } @ Override public void onUpOrCancelMotionEvent ( ScrollState scrollState ) { } }

Fix:
AVQuery < Tweet > query = relation . getQuery ( ) . include ( "images" ) . include ( POSTER ) . orderByDescending ( "post_time" ) ;