Buggy code:
public class ShowFragment extends TraktFragment { private static final int PERCENTAGE_STEP = 2 ; private ProgressBar sbProgress ; private TextView tvProgress ; private ListView lvSeasons ; private ImageView ivBackground ; private RelativeLayout rlNextEpisode ; private ListSeasonAdapter adapter ; private TvShow show = null ; public static ShowFragment newInstance ( Bundle args ) { } public ShowFragment ( ) { } public ShowFragment ( FragmentListener listener ) { } @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override public void onActivityCreated ( Bundle savedInstanceState ) { } public void refreshFragment ( Bundle bundle ) { } private void displayPercentage ( int percentage ) { } private void displayClearLogo ( ) { } private void displayNextEpisode ( ) { DatabaseWrapper dbw = getDBWrapper ( ) ; final TvShowEpisode e = dbw . getNextEpisode ( show . tvdbId ) ; if ( e != null ) { rlNextEpisode . setVisibility ( VISIBLE ) ; TextView tvTitle = ( ( TextView ) ( rlNextEpisode . findViewById ( textViewTitle ) ) ) ; TextView tvEpisode = ( ( TextView ) ( rlNextEpisode . findViewById ( textViewEpisode ) ) ) ; ImageView ivScreen = ( ( ImageView ) ( rlNextEpisode . findViewById ( imageViewScreen ) ) ) ; tvTitle . setText ( e . title ) ; tvEpisode . setText ( ( ( ( Utils . addZero ( e . season ) ) + "x" ) + ( Utils . addZero ( e . number ) ) ) ) ; Image i = new Image ( show . tvdbId , e . images . screen , e . season , e . number ) ; final AQuery aq = new AQuery ( getActivity ( ) ) ; BitmapAjaxCallback cb = new BitmapAjaxCallback ( ) { @ Override public void callback ( String url , ImageView iv , Bitmap bm , AjaxStatus status ) { <START_BUG> aq . id ( iv ) . image ( Utils . shadowBitmap ( Utils . borderBitmap ( bm , getActivity ( ) ) ) ) . animate ( fade_in ) ; <END_BUG> } } . url ( i . getUrl ( ) ) . fileCache ( false ) . memCache ( true ) . ratio ( ( 9.0F // 16.0F ) ) ; aq . id ( ivScreen ) . image ( cb ) ; rlNextEpisode . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent i = new Intent ( getActivity ( ) , EpisodeActivity . class ) ; for ( TvShowSeason s : adapter . getItems ( ) ) { if ( ( s . season ) == ( e . season ) ) i . putExtra ( BUNDLE_SEASON_ID , s . url ) ; } i . putExtra ( BUNDLE_TVDB_ID , show . tvdbId ) ; i . putExtra ( BUNDLE_POSITION , ( ( e . number ) - 1 ) ) ; startActivity ( i ) ; } } ) ; } else rlNextEpisode . setVisibility ( GONE ) ; } @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } @ Override public void onCreateOptionsMenu ( Menu menu , MenuInflater inflater ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } @ Override public void onShowUpdated ( TvShow show ) { } @ Override public void onShowRemoved ( TvShow show ) { } private class ProgressBarRunnable implements Runnable { private int percentage ; private int currentPercentage = 0 ; private boolean stop = false ; public ProgressBarRunnable ( int percentage ) { } @ Override public void run ( ) { } } @ Override public void onRestoreState ( Bundle savedInstanceState ) { } @ Override public void onSaveState ( Bundle toSave ) { } }

Fix:
aq . id ( iv ) . image ( Utils . borderBitmap ( bm , getActivity ( ) ) ) . animate ( fade_in ) ;