Android_Loader/Animator





 
  日历系统中使用了CursorLoader;
  CursorLoader --> AsyncTaskLoader --> Loader --> Object;  A loader that queries the ContentResolver and returns a Cursor. This class implements the Loader protocol in a standard way for querying cursors, building on AsyncTaskLoader to perform the cursor query on a background thread so that it does not block the application's UI.
  LoaderManager --> Object;  Interface associated with an Activity or Fragment for managing one or more Loader instances associated with it. This helps an application manage longer-running operations in conjunction with the Activity or Fragment lifecycle; the most common use of this is with a CursorLoader, however applications are free to write their own loaders for loading other types of data.
  ImageManager --> Object;  This class is used to load images from the network and handles local caching for you.
  ImageManager.OnImageLoadedListener -- Object;   Listener interface for handling when the image for a particular URI has been loaded.





  Flip:
  AnimatorListenerAdapter实现Animator.AnimatorListener接口;
  



  GridView的动画:
  mGridLayout.addView(**);
  Animator mAnim=mLayoutTransition.getAnimator(***);
  mLayoutTransition.setAnimator(***);



  AsyncQueryHandler --> Handler -- Object.  A helper class to help make handling asynchronous ContentResolver queries easier.
  通过uri,增/删/改/查都可以。
  CursorLoader --> AsyncTaskLoader<D> --> Loader<D> -->Object.  A loader that queries the ContentResolver and returns a Cursor.
  只是查询。包括条件/字段 等查询。
  LoaderManager --> Object.  Interface associated with an Activity or Fragment for managing one or more Loader instances associated with it. This helps an application manage longer-running operations in conjunction with the Activity or Fragment lifecycle; the most common use of this is with a CursorLoader, however applications are free to write their own loaders for loading other types of data.
  AsynQueryHandler:Handler实现线程间数据传递。
  CursorLoader: Cursor对象进行线程间数据传递。
  AsynQueryHandler 和 CursorLoader都是调用mContentResolver.query()进行查询数据的。
  Cursor是一个随机的数据源。所有的数据都是通过下标取得。
  Cursor接口: This interface provides random read-write access to the result set returned by a database query.
  VideoView --> SurfaceView --> View --> Object.








  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值