Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

A

ACTIVITY_CACHE - Static variable in interface com.jess.arms.integration.cache.CacheType
Activity 中存储数据的容器
ACTIVITY_CACHE_TYPE_ID - Static variable in interface com.jess.arms.integration.cache.CacheType
 
ACTIVITY_DELEGATE - Static variable in interface com.jess.arms.base.delegate.ActivityDelegate
 
activityClassIsLive(Class<?>) - Method in class com.jess.arms.integration.AppManager
指定的 Activity class 是否存活(同一个 Activity class 可能有多个实例)
ActivityDelegate - Interface in com.jess.arms.base.delegate
================================================ Activity 代理类,用于框架内部在每个 Activity 的对应生命周期中插入需要的逻辑
ActivityDelegateImpl - Class in com.jess.arms.base.delegate
================================================ ActivityDelegate 默认实现类
ActivityDelegateImpl(Activity) - Constructor for class com.jess.arms.base.delegate.ActivityDelegateImpl
 
activityInstanceIsLive(Activity) - Method in class com.jess.arms.integration.AppManager
指定的 Activity 实例是否存活
ActivityLifecycle - Class in com.jess.arms.integration
================================================ Application.ActivityLifecycleCallbacks 默认实现类 通过 ActivityDelegate 管理 Activity
ActivityLifecycle() - Constructor for class com.jess.arms.integration.ActivityLifecycle
 
ActivityLifecycleable - Interface in com.jess.arms.integration.lifecycle
================================================ 让 Activity 实现此接口,即可正常使用 RxLifecycle Created by JessYan on 26/08/2017 17:14 Contact me Follow me ================================================
ActivityLifecycleForRxLifecycle - Class in com.jess.arms.integration.lifecycle
================================================ 配合 ActivityLifecycleable 使用,使 Activity 具有 RxLifecycle 的特性
ActivityLifecycleForRxLifecycle() - Constructor for class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
ActivityScope - Annotation Type in com.jess.arms.di.scope
A scoping annotation to permit objects whose lifetime should conform to the life of the activity to be memorized in the correct component.
AdapterViewPager - Class in com.jess.arms.base
================================================ 基类 FragmentStatePagerAdapter
AdapterViewPager(FragmentManager, List<Fragment>) - Constructor for class com.jess.arms.base.AdapterViewPager
 
AdapterViewPager(FragmentManager, List<Fragment>, CharSequence[]) - Constructor for class com.jess.arms.base.AdapterViewPager
 
addActivity(Activity) - Method in class com.jess.arms.integration.AppManager
添加 Activity 到集合
addDispose(Disposable) - Method in class com.jess.arms.base.BaseService
 
addDispose(Disposable) - Method in class com.jess.arms.mvp.BasePresenter
Disposable 添加到 CompositeDisposable 中统一管理 可在 Activity.onDestroy() 中使用 BasePresenter.unDispose() 停止正在执行的 RxJava 任务,避免内存泄漏 目前框架已使用 RxLifecycle 避免内存泄漏,此方法作为备用方案
addInterceptor(Interceptor) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
animationStyle(int) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
App - Interface in com.jess.arms.base
================================================ 框架要求框架中的每个 Application 都需要实现此类, 以满足规范
AppComponent - Interface in com.jess.arms.di.component
================================================ 可通过 ArmsUtils.obtainAppComponentFromContext(Context) 拿到此接口的实现类 拥有此接口的实现类即可调用对应的方法拿到 Dagger 提供的对应实例
AppComponent.Builder - Interface in com.jess.arms.di.component
 
AppDelegate - Class in com.jess.arms.base.delegate
================================================ AppDelegate 可以代理 Application 的生命周期,在对应的生命周期,执行对应的逻辑,因为 Java 只能单继承 所以当遇到某些三方库需要继承于它的 Application 的时候,就只有自定义 Application 并继承于三方库的 Application 这时就不用再继承 BaseApplication,只用在自定义Application中对应的生命周期调用AppDelegate对应的方法 (Application一定要实现APP接口),框架就能照常运行
AppDelegate(Context) - Constructor for class com.jess.arms.base.delegate.AppDelegate
 
appExit() - Method in class com.jess.arms.integration.AppManager
退出应用程序
application() - Method in interface com.jess.arms.di.component.AppComponent
 
application(Application) - Method in interface com.jess.arms.di.component.AppComponent.Builder
 
AppLifecycles - Interface in com.jess.arms.base.delegate
================================================ 用于代理 Application 的生命周期
applyGlideOptions(Context, GlideBuilder) - Method in interface com.jess.arms.http.imageloader.glide.GlideAppliesOptions
配置 @Glide 的自定义参数,此方法在 @Glide 初始化时执行(@Glide 在第一次被调用时初始化),只会执行一次
applyOptions(Context, GlideBuilder) - Method in class com.jess.arms.http.imageloader.glide.GlideConfiguration
 
applyOptions(Context, GlobalConfigModule.Builder) - Method in interface com.jess.arms.integration.ConfigModule
使用 GlobalConfigModule.Builder 给框架配置一些配置参数
appManager() - Method in interface com.jess.arms.di.component.AppComponent
Deprecated.
AppManager - Class in com.jess.arms.integration
================================================ 用于管理所有 Activity, 和在前台的 Activity
AppManager.HandleListener - Interface in com.jess.arms.integration
Deprecated.
AppModule - Class in com.jess.arms.di.module
================================================ 提供一些框架必须的实例的 Module
AppModule() - Constructor for class com.jess.arms.di.module.AppModule
 
AppModule.GsonConfiguration - Interface in com.jess.arms.di.module
 
ArmsUtils - Class in com.jess.arms.utils
================================================ 一些框架常用的工具
attachBaseContext(Context) - Method in class com.jess.arms.base.BaseApplication
这里会在 BaseApplication.onCreate() 之前被调用,可以做一些较早的初始化 常用于 MultiDex 以及插件化框架的初始化
attachBaseContext(Context) - Method in class com.jess.arms.base.delegate.AppDelegate
 
attachBaseContext(Context) - Method in interface com.jess.arms.base.delegate.AppLifecycles
 

B

backgroundDrawable(Drawable) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
BaseActivity<P extends IPresenter> - Class in com.jess.arms.base
================================================ 因为 Java 只能单继承, 所以如果要用到需要继承特定 Activity 的三方库, 那你就需要自己自定义 Activity 继承于这个特定的 Activity, 然后再按照 BaseActivity 的格式, 将代码复制过去, 记住一定要实现IActivity
BaseActivity() - Constructor for class com.jess.arms.base.BaseActivity
 
BaseApplication - Class in com.jess.arms.base
================================================ MVPArms 是一个整合了大量主流开源项目的 Android MVP 快速搭建框架, 其中包含 Dagger2、Retrofit、RxJava 以及 RxLifecycle、RxCache 等 Rx 系三方库, 并且提供 UI 自适应方案, 本框架将它们结合起来, 并全部使用 Dagger2 管理 并提供给开发者使用, 使用本框架开发您的项目, 就意味着您已经拥有一个 MVP + Dagger2 + Retrofit + RxJava 项目
BaseApplication() - Constructor for class com.jess.arms.base.BaseApplication
 
BaseFragment<P extends IPresenter> - Class in com.jess.arms.base
================================================ 因为 Java 只能单继承, 所以如果要用到需要继承特定 @Fragment 的三方库, 那你就需要自己自定义 @Fragment 继承于这个特定的 @Fragment, 然后再按照 BaseFragment 的格式, 将代码复制过去, 记住一定要实现IFragment
BaseFragment() - Constructor for class com.jess.arms.base.BaseFragment
 
BaseHolder<T> - Class in com.jess.arms.base
================================================ 基类 RecyclerView.ViewHolder
BaseHolder(View) - Constructor for class com.jess.arms.base.BaseHolder
 
BaseHolder.OnViewClickListener - Interface in com.jess.arms.base
item 点击事件
BaseImageLoaderStrategy<T extends ImageConfig> - Interface in com.jess.arms.http.imageloader
================================================ 图片加载策略,实现 BaseImageLoaderStrategy 并通过 ImageLoader.setLoadImgStrategy(BaseImageLoaderStrategy) 配置后,才可进行图片请求
BaseLazyLoadFragment<P extends IPresenter> - Class in com.jess.arms.base
子类覆写BaseLazyLoadFragmentlazyLoadData可快速实现Fragment懒加载
BaseLazyLoadFragment() - Constructor for class com.jess.arms.base.BaseLazyLoadFragment
 
BaseModel - Class in com.jess.arms.mvp
================================================ 基类 Model
BaseModel(IRepositoryManager) - Constructor for class com.jess.arms.mvp.BaseModel
 
BasePresenter<M extends IModel,V extends IView> - Class in com.jess.arms.mvp
================================================ 基类 Presenter
BasePresenter(M, V) - Constructor for class com.jess.arms.mvp.BasePresenter
如果当前页面同时需要 Model 层和 View 层,则使用此构造函数(默认)
BasePresenter(V) - Constructor for class com.jess.arms.mvp.BasePresenter
如果当前页面不需要操作数据,只需要 View 层,则使用此构造函数
BasePresenter() - Constructor for class com.jess.arms.mvp.BasePresenter
 
BaseService - Class in com.jess.arms.base
================================================ 基类 Service
BaseService() - Constructor for class com.jess.arms.base.BaseService
 
baseurl(String) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
baseurl(BaseUrl) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
BaseUrl - Interface in com.jess.arms.http
================================================ 针对于 BaseUrl 在 App 启动时不能确定,需要请求服务器接口动态获取的应用场景
bindTarget(Object, Object) - Static method in class com.jess.arms.utils.ThirdViewUtil
 
bindToLifecycle(IView) - Static method in class com.jess.arms.utils.RxLifecycleUtils
绑定 Activity/Fragment 的生命周期
bindToLifecycle(Lifecycleable) - Static method in class com.jess.arms.utils.RxLifecycleUtils
 
bindUntilEvent(IView, ActivityEvent) - Static method in class com.jess.arms.utils.RxLifecycleUtils
绑定 Activity 的指定生命周期
bindUntilEvent(IView, FragmentEvent) - Static method in class com.jess.arms.utils.RxLifecycleUtils
绑定 Fragment 的指定生命周期
bindUntilEvent(Lifecycleable<R>, R) - Static method in class com.jess.arms.utils.RxLifecycleUtils
 
blur(Context, Bitmap, View) - Static method in class com.jess.arms.utils.FastBlur
View 设置高斯模糊背景图片
blurBitmap(Bitmap, int, int) - Static method in class com.jess.arms.utils.FastBlur
Bitmap 高斯模糊并返回
build() - Method in interface com.jess.arms.di.component.AppComponent.Builder
 
build() - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
build(MultiModelLoaderFactory) - Method in class com.jess.arms.http.OkHttpUrlLoader.Factory
 
build(CacheType) - Method in interface com.jess.arms.integration.cache.Cache.Factory
Returns a new cache
build() - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
builder() - Static method in class com.jess.arms.di.module.GlobalConfigModule
 
builder() - Static method in class com.jess.arms.widget.CustomPopupWindow
 
buildLoadData(GlideUrl, int, int, Options) - Method in class com.jess.arms.http.OkHttpUrlLoader
 
bytyToString(InputStream) - Static method in class com.jess.arms.utils.DataHelper
 

C

Cache<K,V> - Interface in com.jess.arms.integration.cache
================================================ 用于缓存框架中所必需的组件,开发者可通过 GlobalConfigModule.Builder#cacheFactory(Factory) 为框架提供缓存策略 开发者也可以用于自己日常中的使用
Cache.Factory - Interface in com.jess.arms.integration.cache
 
CACHE_SERVICE_CACHE - Static variable in interface com.jess.arms.integration.cache.CacheType
RepositoryManager 中储存 Cache Service 的容器
CACHE_SERVICE_CACHE_TYPE_ID - Static variable in interface com.jess.arms.integration.cache.CacheType
 
cacheFactory() - Method in interface com.jess.arms.di.component.AppComponent
用于创建框架所需缓存对象的工厂
cacheFactory(Cache.Factory) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
cacheFile() - Method in interface com.jess.arms.di.component.AppComponent
缓存文件根目录 (RxCache 和 Glide 的缓存都已经作为子文件夹放在这个根目录下), 应该将所有缓存都统一放到这个根目录下 便于管理和清理, 可在 ConfigModule.applyOptions(Context, GlobalConfigModule.Builder) 种配置
cacheFile(File) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
CacheType - Interface in com.jess.arms.integration.cache
================================================ 构建 Cache 时,使用 CacheType 中声明的类型,来区分不同的模块 从而为不同的模块构建不同的缓存策略
calculateCacheSize(Context) - Method in interface com.jess.arms.integration.cache.CacheType
计算对应模块需要的缓存大小
callPhone(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler) - Static method in class com.jess.arms.utils.PermissionUtil
请求打电话权限
cancel() - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
cancelFullScreen(Activity) - Static method in class com.jess.arms.utils.DeviceUtils
 
CharacterHandler - Class in com.jess.arms.utils
================================================ 处理字符串的工具类
checkArgument(boolean) - Static method in class com.jess.arms.utils.Preconditions
 
checkArgument(boolean, Object) - Static method in class com.jess.arms.utils.Preconditions
 
checkArgument(boolean, String, Object...) - Static method in class com.jess.arms.utils.Preconditions
 
checkElementIndex(int, int) - Static method in class com.jess.arms.utils.Preconditions
 
checkElementIndex(int, int, String) - Static method in class com.jess.arms.utils.Preconditions
 
checkNotNull(T) - Static method in class com.jess.arms.utils.Preconditions
 
checkNotNull(T, Object) - Static method in class com.jess.arms.utils.Preconditions
 
checkNotNull(T, String, Object...) - Static method in class com.jess.arms.utils.Preconditions
 
checkPositionIndex(int, int) - Static method in class com.jess.arms.utils.Preconditions
 
checkPositionIndex(int, int, String) - Static method in class com.jess.arms.utils.Preconditions
 
checkPositionIndexes(int, int, int) - Static method in class com.jess.arms.utils.Preconditions
 
checkState(boolean) - Static method in class com.jess.arms.utils.Preconditions
 
checkState(boolean, Object) - Static method in class com.jess.arms.utils.Preconditions
 
checkState(boolean, String, Object...) - Static method in class com.jess.arms.utils.Preconditions
 
cleanup() - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
clear(Context, T) - Method in interface com.jess.arms.http.imageloader.BaseImageLoaderStrategy
停止加载
clear(Context, T) - Method in class com.jess.arms.http.imageloader.ImageLoader
停止加载或清理缓存
clear() - Method in interface com.jess.arms.integration.cache.Cache
清除缓存中所有的内容
clear() - Method in class com.jess.arms.integration.cache.IntelligentCache
clear() - Method in class com.jess.arms.integration.cache.LruCache
清除缓存中所有的内容
clear() - Method in class com.jess.arms.integration.EventBusManager
清除订阅者和事件的缓存, 如果您在项目中同时依赖了两个 EventBus, 请自己使用想使用的 EventBus 的 Api 清除订阅者和事件的缓存
clearAllCache() - Method in interface com.jess.arms.integration.IRepositoryManager
清理所有缓存
clearAllCache() - Method in class com.jess.arms.integration.RepositoryManager
清理所有缓存
clearShareprefrence(Context) - Static method in class com.jess.arms.utils.DataHelper
清除Shareprefrence
ClientModule - Class in com.jess.arms.di.module
================================================ 提供一些三方库客户端实例的 Module
ClientModule() - Constructor for class com.jess.arms.di.module.ClientModule
 
ClientModule.OkhttpConfiguration - Interface in com.jess.arms.di.module
OkHttpClient 自定义配置接口
ClientModule.RetrofitConfiguration - Interface in com.jess.arms.di.module
Retrofit 自定义配置接口
ClientModule.RxCacheConfiguration - Interface in com.jess.arms.di.module
RxCache 自定义配置接口
closeQuietly(Closeable) - Static method in class com.jess.arms.utils.ZipHelper
 
com.jess.arms.base - package com.jess.arms.base
 
com.jess.arms.base.delegate - package com.jess.arms.base.delegate
 
com.jess.arms.di.component - package com.jess.arms.di.component
 
com.jess.arms.di.module - package com.jess.arms.di.module
 
com.jess.arms.di.scope - package com.jess.arms.di.scope
 
com.jess.arms.http - package com.jess.arms.http
 
com.jess.arms.http.imageloader - package com.jess.arms.http.imageloader
 
com.jess.arms.http.imageloader.glide - package com.jess.arms.http.imageloader.glide
 
com.jess.arms.http.log - package com.jess.arms.http.log
 
com.jess.arms.integration - package com.jess.arms.integration
 
com.jess.arms.integration.cache - package com.jess.arms.integration.cache
 
com.jess.arms.integration.lifecycle - package com.jess.arms.integration.lifecycle
 
com.jess.arms.mvp - package com.jess.arms.mvp
 
com.jess.arms.utils - package com.jess.arms.utils
 
com.jess.arms.widget - package com.jess.arms.widget
 
compressForGzip(String) - Static method in class com.jess.arms.utils.ZipHelper
gzip compress 2 byte
compressForZlib(byte[]) - Static method in class com.jess.arms.utils.ZipHelper
zlib compress 2 byte
compressForZlib(String) - Static method in class com.jess.arms.utils.ZipHelper
zlib compress 2 byte
configGson(Context, GsonBuilder) - Method in interface com.jess.arms.di.module.AppModule.GsonConfiguration
 
ConfigModule - Interface in com.jess.arms.integration
================================================ ConfigModule 可以给框架配置一些参数,需要实现 ConfigModule 后,在 AndroidManifest 中声明该实现类
configOkhttp(Context, OkHttpClient.Builder) - Method in interface com.jess.arms.di.module.ClientModule.OkhttpConfiguration
 
configRecyclerView(RecyclerView, RecyclerView.LayoutManager) - Static method in class com.jess.arms.utils.ArmsUtils
配置 RecyclerView
configRecycleView(RecyclerView, RecyclerView.LayoutManager) - Static method in class com.jess.arms.utils.ArmsUtils
configRetrofit(Context, Retrofit.Builder) - Method in interface com.jess.arms.di.module.ClientModule.RetrofitConfiguration
 
configRxCache(Context, RxCache.Builder) - Method in interface com.jess.arms.di.module.ClientModule.RxCacheConfiguration
若想自定义 RxCache 的缓存文件夹或者解析方式, 如改成 FastJson 请 return rxCacheBuilder.persistence(cacheDirectory, new FastJsonSpeaker());, 否则请 return null;
containsKey(K) - Method in interface com.jess.arms.integration.cache.Cache
如果这个 key 在缓存中有对应的 value 并且不为 null, 则返回 true
containsKey(String) - Method in class com.jess.arms.integration.cache.IntelligentCache
如果在 key 中使用 IntelligentCache.KEY_KEEP 作为其前缀, 则操作 IntelligentCache.mMap, 否则操作 IntelligentCache.mCache
containsKey(K) - Method in class com.jess.arms.integration.cache.LruCache
如果这个 key 在缓存中有对应的 value 并且不为 null,则返回 true
contentView(View) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
convertAutoView(String, Context, AttributeSet) - Static method in class com.jess.arms.utils.ThirdViewUtil
 
convertCharset(Charset) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
copyTextToBoard(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
 
customListener(CustomPopupWindow.CustomPopupWindowListener) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
CustomPopupWindow - Class in com.jess.arms.widget
================================================ 因为继承于 PopupWindow ,所以它本身就是一个 PopupWindow 因此如果此类里封装的功能并不能满足您的需求(不想过多封装 UI 的东西,这里只提供思想,觉得不满足需求可以自己仿照着封装) 您可以直接调用 PopupWindow 的 Api 满足需求
CustomPopupWindow.Builder - Class in com.jess.arms.widget
 
CustomPopupWindow.CustomPopupWindowListener - Interface in com.jess.arms.widget
 

D

DataHelper - Class in com.jess.arms.utils
================================================ 处理数据或本地文件的工具类
debugInfo(String, String) - Static method in class com.jess.arms.utils.LogUtils
 
debugInfo(String) - Static method in class com.jess.arms.utils.LogUtils
 
debugLongInfo(String, String) - Static method in class com.jess.arms.utils.LogUtils
这里使用自己分节的方式来输出足够长度的 message
debugLongInfo(String) - Static method in class com.jess.arms.utils.LogUtils
 
decompressForGzip(byte[]) - Static method in class com.jess.arms.utils.ZipHelper
gzip decompress 2 string
decompressForGzip(byte[], String) - Static method in class com.jess.arms.utils.ZipHelper
gzip decompress 2 string
decompressForZlib(byte[]) - Static method in class com.jess.arms.utils.ZipHelper
zlib decompress 2 byte
decompressToStringForZlib(byte[]) - Static method in class com.jess.arms.utils.ZipHelper
zlib decompress 2 String
decompressToStringForZlib(byte[], String) - Static method in class com.jess.arms.utils.ZipHelper
zlib decompress 2 String
DefaultAdapter<T> - Class in com.jess.arms.base
================================================ 基类 RecyclerView.Adapter, 如果需要实现非常复杂的 RecyclerView, 请尽量使用其他优秀的三方库
DefaultAdapter(List<T>) - Constructor for class com.jess.arms.base.DefaultAdapter
 
DefaultAdapter.OnRecyclerViewItemClickListener<T> - Interface in com.jess.arms.base
item 点击事件
DefaultFormatPrinter - Class in com.jess.arms.http.log
================================================ 对 OkHttp 的请求和响应信息进行更规范和清晰的打印, 此类为框架默认实现, 以默认格式打印信息, 若觉得默认打印格式 并不能满足自己的需求, 可自行扩展自己理想的打印格式
DefaultFormatPrinter() - Constructor for class com.jess.arms.http.log.DefaultFormatPrinter
 
deleteDir(File) - Static method in class com.jess.arms.utils.DataHelper
使用递归删除文件夹
DEPENDENCY_ANDROID_EVENTBUS - Static variable in class com.jess.arms.base.Platform
 
DEPENDENCY_AUTO_LAYOUT - Static variable in class com.jess.arms.base.Platform
 
DEPENDENCY_EVENTBUS - Static variable in class com.jess.arms.base.Platform
 
DEPENDENCY_GLIDE - Static variable in class com.jess.arms.base.Platform
 
DEPENDENCY_SUPPORT_DESIGN - Static variable in class com.jess.arms.base.Platform
 
DeviceUtils - Class in com.jess.arms.utils
================================================ 获取设备常用信息和处理设备常用操作的工具类
dip2px(Context, float) - Static method in class com.jess.arms.utils.ArmsUtils
dp 转 px
displayDensity - Static variable in class com.jess.arms.utils.DeviceUtils
 
doBlur(Bitmap, int, boolean) - Static method in class com.jess.arms.utils.FastBlur
 
dpToPixel(Context, float) - Static method in class com.jess.arms.utils.DeviceUtils
dp转px
DrawableProvider - Class in com.jess.arms.utils
================================================ 处理 DrawableBitmap 的工具类

E

emojiFilter - Static variable in class com.jess.arms.utils.CharacterHandler
 
EMPTY - Static variable in interface com.jess.arms.http.GlobalHttpHandler
空实现
encodeToMD5(String) - Static method in class com.jess.arms.utils.ArmsUtils
MD5
errorPic - Variable in class com.jess.arms.http.imageloader.ImageConfig
 
EventBusManager - Class in com.jess.arms.integration
================================================ EventBus 的管理类, Arms 核心库并不会依赖某个 EventBus, 如果您想使用 EventBus, 则请在项目中自行依赖对应的 EventBus, 如果不想使用则不依赖 支持 greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 这个类并不能完全做到 EventBus 对外界的零耦合, 只能降低耦合, 因为两个 EventBus 的部分功能使用方法差别太大, 做到完全解耦代价太大 允许同时使用两个 EventBus 但不建议这样做, 建议使用 AndroidEventBus, 特别是组件化项目, 原因请看 https://github.com/hehonghui/AndroidEventBus/issues/49
executorService() - Method in interface com.jess.arms.di.component.AppComponent
返回一个全局公用的线程池,适用于大多数异步需求。 避免多个线程池创建带来的资源消耗。
executorService(ExecutorService) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
exitApp() - Static method in class com.jess.arms.utils.ArmsUtils
externalStorage(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler) - Static method in class com.jess.arms.utils.PermissionUtil
请求外部存储的权限
extras() - Method in interface com.jess.arms.di.component.AppComponent
用来存取一些整个 App 公用的数据, 切勿大量存放大容量数据, 这里的存放的数据和 Application 的生命周期一致
EXTRAS - Static variable in interface com.jess.arms.integration.cache.CacheType
AppComponent 中的 extras
EXTRAS_TYPE_ID - Static variable in interface com.jess.arms.integration.cache.CacheType
 

F

Factory() - Constructor for class com.jess.arms.http.OkHttpUrlLoader.Factory
Constructor for a new Factory that runs requests using a static singleton client.
Factory(Call.Factory) - Constructor for class com.jess.arms.http.OkHttpUrlLoader.Factory
Constructor for a new Factory that runs requests using given client.
FastBlur - Class in com.jess.arms.utils
================================================ 处理高斯模糊的工具类
findActivity(Class<?>) - Method in class com.jess.arms.integration.AppManager
获取指定 Activity class 的实例,没有则返回 null(同一个 Activity class 有多个实例,则返回最早创建的实例)
findLayout(Context, String) - Static method in class com.jess.arms.utils.ArmsUtils
根据 layout 名字获得 id
findViewByName(Context, View, String) - Static method in class com.jess.arms.utils.ArmsUtils
findview
findViewByName(Context, Activity, String) - Static method in class com.jess.arms.utils.ArmsUtils
findview
formatPrinter(FormatPrinter) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
FormatPrinter - Interface in com.jess.arms.http.log
================================================ 对 OkHttp 的请求和响应信息进行更规范和清晰的打印, 开发者可更根据自己的需求自行扩展打印格式
FRAGMENT_CACHE - Static variable in interface com.jess.arms.integration.cache.CacheType
Fragment 中存储数据的容器
FRAGMENT_CACHE_TYPE_ID - Static variable in interface com.jess.arms.integration.cache.CacheType
 
FRAGMENT_DELEGATE - Static variable in interface com.jess.arms.base.delegate.FragmentDelegate
 
FragmentDelegate - Interface in com.jess.arms.base.delegate
================================================ Fragment 代理类,用于框架内部在每个 Fragment 的对应生命周期中插入需要的逻辑
FragmentDelegateImpl - Class in com.jess.arms.base.delegate
================================================ FragmentDelegate 默认实现类
FragmentDelegateImpl(android.support.v4.app.FragmentManager, android.support.v4.app.Fragment) - Constructor for class com.jess.arms.base.delegate.FragmentDelegateImpl
 
FragmentLifecycle - Class in com.jess.arms.integration
================================================ FragmentManager.FragmentLifecycleCallbacks 默认实现类 通过 FragmentDelegate 管理 Fragment
FragmentLifecycle() - Constructor for class com.jess.arms.integration.FragmentLifecycle
 
FragmentLifecycleable - Interface in com.jess.arms.integration.lifecycle
================================================ 让 Fragment 实现此接口,即可正常使用 RxLifecycle Created by JessYan on 26/08/2017 17:14 Contact me Follow me ================================================
FragmentLifecycleForRxLifecycle - Class in com.jess.arms.integration.lifecycle
================================================ 配合 FragmentLifecycleable 使用,使 Fragment 具有 RxLifecycle 的特性
FragmentLifecycleForRxLifecycle() - Constructor for class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
FragmentScope - Annotation Type in com.jess.arms.di.scope
A scoping annotation to permit objects whose lifetime should conform to the life of the fragment to be memorized in the correct component.

G

get(K) - Method in interface com.jess.arms.integration.cache.Cache
返回这个 key 在缓存中对应的 value, 如果返回 null 说明这个 key 没有对应的 value
get(String) - Method in class com.jess.arms.integration.cache.IntelligentCache
如果在 key 中使用 IntelligentCache.KEY_KEEP 作为其前缀, 则操作 IntelligentCache.mMap, 否则操作 IntelligentCache.mCache
get(K) - Method in class com.jess.arms.integration.cache.LruCache
返回这个 key 在缓存中对应的 value, 如果返回 null 说明这个 key 没有对应的 value
getActivityList() - Method in class com.jess.arms.integration.AppManager
返回一个存储所有未销毁的 Activity 的集合
getAppComponent() - Method in interface com.jess.arms.base.App
 
getAppComponent() - Method in class com.jess.arms.base.BaseApplication
AppComponent 返回出去, 供其它地方使用, AppComponent 接口中声明的方法所返回的实例, 在 BaseApplication.getAppComponent() 拿到对象后都可以直接使用
getAppComponent() - Method in class com.jess.arms.base.delegate.AppDelegate
AppComponent 返回出去, 供其它地方使用, AppComponent 接口中声明的方法返回的实例, 在 AppDelegate.getAppComponent() 拿到对象后都可以直接使用
getAppManager() - Static method in class com.jess.arms.integration.AppManager
 
getBitmapDegree(String) - Static method in class com.jess.arms.utils.DrawableProvider
读取图片的旋转的角度
getCacheFile(Context) - Static method in class com.jess.arms.utils.DataHelper
返回缓存文件夹
getCacheFilePath(Context) - Static method in class com.jess.arms.utils.DataHelper
获取自定义缓存文件地址
getCacheTypeId() - Method in interface com.jess.arms.integration.cache.CacheType
返回框架内需要缓存的模块对应的 id
getColor(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
获得颜色
getColor(Context, String) - Static method in class com.jess.arms.utils.ArmsUtils
获得颜色
getContentView() - Method in class com.jess.arms.widget.CustomPopupWindow
获得用于展示popup内容的view
getContext() - Method in interface com.jess.arms.integration.IRepositoryManager
获取 Context
getContext() - Method in class com.jess.arms.integration.RepositoryManager
 
getCount() - Method in class com.jess.arms.base.AdapterViewPager
 
getCurCountryLan(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getCurrentActivity() - Method in class com.jess.arms.integration.AppManager
获取在前台的 Activity (保证获取到的 Activity 正处于可见状态, 即未调用 Activity.onStop()), 获取的 Activity 存续时间 是在 Activity.onStop() 之前, 所以如果当此 Activity 调用 Activity.onStop() 方法之后, 没有其他的 Activity 回到前台(用户返回桌面或者打开了其他 App 会出现此状况) 这时调用 AppManager.getCurrentActivity() 有可能返回 null, 所以请注意使用场景和 AppManager.getTopActivity() 不一样
getDataClass() - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
getDataSource() - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
getDefaultLoadFactor(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getDensity(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getDeviceData(Context, String) - Static method in class com.jess.arms.utils.DataHelper
将对象从shareprerence中取出来
getDimens(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
从 dimens 中获得尺寸
getDimens(Context, String) - Static method in class com.jess.arms.utils.ArmsUtils
从 dimens 中获得尺寸
getDirSize(File) - Static method in class com.jess.arms.utils.DataHelper
使用递归获取目录文件大小
getDisplayMetrics(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getDrawablebyResource(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
通过资源id获得drawable
getErrorPic() - Method in class com.jess.arms.http.imageloader.ImageConfig
 
getHandleListener() - Method in class com.jess.arms.integration.AppManager
Deprecated.
getHolder(View, int) - Method in class com.jess.arms.base.DefaultAdapter
让子类实现用以提供 BaseHolder
getImageView() - Method in class com.jess.arms.http.imageloader.ImageConfig
 
getIMEI(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getInfos() - Method in class com.jess.arms.base.DefaultAdapter
返回数据集合
getInstallApkIntent(File) - Static method in class com.jess.arms.utils.DeviceUtils
 
getInstance() - Static method in class com.jess.arms.integration.EventBusManager
 
getIntergerSF(Context, String) - Static method in class com.jess.arms.utils.DataHelper
返回存在sharedPreferences的信息
getItem(int) - Method in class com.jess.arms.base.AdapterViewPager
 
getItem(int) - Method in class com.jess.arms.base.DefaultAdapter
获得 RecyclerView 中某个 position 上的 item 数据
getItemCount() - Method in class com.jess.arms.base.DefaultAdapter
返回数据总个数
getItemSize(V) - Method in class com.jess.arms.integration.cache.LruCache
返回每个 item 所占用的 size,默认为1,这个 size 的单位必须和构造函数所传入的 size 一致 子类可以重写这个方法以适应不同的单位,比如说 bytes
getKeyOfKeep(String) - Static method in class com.jess.arms.integration.cache.IntelligentCache
使用此方法返回的值作为 key, 可以将数据永久存储至内存中
getLayoutId(int) - Method in class com.jess.arms.base.DefaultAdapter
提供用于 item 布局的 layoutId
getLoadImgStrategy() - Method in class com.jess.arms.http.imageloader.ImageLoader
 
getMaxSize() - Method in interface com.jess.arms.integration.cache.Cache
返回当前缓存所能允许的最大 size
getMaxSize() - Method in class com.jess.arms.integration.cache.IntelligentCache
IntelligentCache.mMapIntelligentCache.mCachemaxSize 相加后返回
getMaxSize() - Method in class com.jess.arms.integration.cache.LruCache
返回当前缓存所能允许的最大 size
getNetworkType(Context) - Static method in class com.jess.arms.utils.DeviceUtils
获取当前网络类型
getPackageInfo(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
 
getPageTitle(int) - Method in class com.jess.arms.base.AdapterViewPager
 
getPhoneType() - Static method in class com.jess.arms.utils.DeviceUtils
 
getPlaceholder() - Method in class com.jess.arms.http.imageloader.ImageConfig
 
getRealScreenSize(Activity) - Static method in class com.jess.arms.utils.DeviceUtils
获取activity尺寸
getReSizeBitmap(Bitmap, float, float) - Static method in class com.jess.arms.utils.DrawableProvider
改变Bitmap的长宽
getResources(Context) - Static method in class com.jess.arms.utils.ArmsUtils
获得资源
getScaleDrawable(float, Drawable) - Static method in class com.jess.arms.utils.DrawableProvider
传入图片,将图片按传入比例缩放
getScaleDrawable2(float, Drawable) - Static method in class com.jess.arms.utils.DrawableProvider
传入图片,将图片按传入宽度和原始宽度的比例缩放
getScaleDrawableForRadioButton(float, TextView) - Static method in class com.jess.arms.utils.DrawableProvider
将 TextView/RadioButton 中设置的 drawable 动态的缩放
getScaleDrawableForRadioButton2(float, TextView) - Static method in class com.jess.arms.utils.DrawableProvider
将 TextView/RadioButton 中设置的 drawable 动态的缩放
getScreenHeidth(Context) - Static method in class com.jess.arms.utils.ArmsUtils
获得屏幕的高度
getScreenHeight(Context) - Static method in class com.jess.arms.utils.DeviceUtils
屏幕高度
getScreenWidth(Context) - Static method in class com.jess.arms.utils.ArmsUtils
获得屏幕的宽度
getScreenWidth(Context) - Static method in class com.jess.arms.utils.DeviceUtils
屏幕宽度
getStateListDrawable(Drawable, Drawable) - Static method in class com.jess.arms.utils.DrawableProvider
获得选择器
getStatuBarHeight(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
getStatusBarHeight(Context) - Static method in class com.jess.arms.utils.DeviceUtils
获取状态栏高度
getString(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
从String 中获得字符
getString(Context, String) - Static method in class com.jess.arms.utils.ArmsUtils
从String 中获得字符
getStringArray(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
得到字符数组
getStringSF(Context, String) - Static method in class com.jess.arms.utils.DataHelper
返回存在sharedPreferences的信息
getTopActivity() - Method in class com.jess.arms.integration.AppManager
获取最近启动的一个 Activity, 此方法不保证获取到的 Activity 正处于前台可见状态 即使 App 进入后台或在这个 Activity 中打开一个之前已经存在的 Activity, 这时调用此方法 还是会返回这个最近启动的 Activity, 因此基本不会出现 null 的情况 比较适合大部分的使用场景, 如 startActivity
getUrl() - Method in class com.jess.arms.http.imageloader.ImageConfig
 
getVersionCode(Context) - Static method in class com.jess.arms.utils.DeviceUtils
获取版本号
getVersionCode(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
获取指定包名应用的版本号
getVersionName(Context) - Static method in class com.jess.arms.utils.DeviceUtils
获取版本名
GlideAppliesOptions - Interface in com.jess.arms.http.imageloader.glide
================================================ 如果你想具有配置 @Glide 的权利,则需要让 BaseImageLoaderStrategy 的实现类也必须实现 GlideAppliesOptions
GlideConfiguration - Class in com.jess.arms.http.imageloader.glide
================================================ AppGlideModule 的默认实现类 用于配置缓存文件夹,切换图片请求框架等操作
GlideConfiguration() - Constructor for class com.jess.arms.http.imageloader.glide.GlideConfiguration
 
globalConfigModule(GlobalConfigModule) - Method in interface com.jess.arms.di.component.AppComponent.Builder
 
GlobalConfigModule - Class in com.jess.arms.di.module
================================================ 框架独创的建造者模式 Module,可向框架中注入外部配置的自定义参数
GlobalConfigModule.Builder - Class in com.jess.arms.di.module
 
globalHttpHandler(GlobalHttpHandler) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
GlobalHttpHandler - Interface in com.jess.arms.http
================================================ 处理 Http 请求和响应结果的处理类 使用 GlobalConfigModule.Builder#globalHttpHandler(GlobalHttpHandler) 方法配置
gson() - Method in interface com.jess.arms.di.component.AppComponent
Json 序列化库
gsonConfiguration(AppModule.GsonConfiguration) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
GTE_HC - Static variable in class com.jess.arms.utils.DeviceUtils
 
GTE_ICS - Static variable in class com.jess.arms.utils.DeviceUtils
 

H

handleMessage(AppManager, Message) - Method in interface com.jess.arms.integration.AppManager.HandleListener
Deprecated.
 
handles(GlideUrl) - Method in class com.jess.arms.http.OkHttpUrlLoader
 
hasBigScreen(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
hasCamera(Context) - Static method in class com.jess.arms.utils.DeviceUtils
设备是否有相机
hasHardwareMenuKey(Context) - Static method in class com.jess.arms.utils.DeviceUtils
设备是否有实体菜单
hasInternet(Context) - Static method in class com.jess.arms.utils.DeviceUtils
当前是否有网
hasStatusBar(Activity) - Static method in class com.jess.arms.utils.DeviceUtils
 
hasUrlEncoded(String) - Static method in class com.jess.arms.utils.UrlEncoderUtils
判断 str 是否已经 URLEncoder.encode() 过 经常遇到这样的情况, 拿到一个 URL, 但是搞不清楚到底要不要 URLEncoder.encode() 不做 URLEncoder.encode() 吧, 担心出错, 做 URLEncoder.encode() 吧, 又怕重复了
hideAnimatedView(View) - Static method in class com.jess.arms.utils.DeviceUtils
 
hideLoading() - Method in interface com.jess.arms.mvp.IView
隐藏加载
hideSoftKeyboard(Context, View) - Static method in class com.jess.arms.utils.DeviceUtils
隐藏软键盘

I

IActivity - Interface in com.jess.arms.base.delegate
================================================ 框架要求框架中的每个 Activity 都需要实现此类,以满足规范
IFragment - Interface in com.jess.arms.base.delegate
================================================ 框架要求框架中的每个 Fragment 都需要实现此类,以满足规范
IMAGE_DISK_CACHE_MAX_SIZE - Static variable in class com.jess.arms.http.imageloader.glide.GlideConfiguration
 
ImageConfig - Class in com.jess.arms.http.imageloader
================================================ 这里是图片加载配置信息的基类,定义一些所有图片加载框架都可以用的通用参数 每个 BaseImageLoaderStrategy 应该对应一个 ImageConfig 实现类
ImageConfig() - Constructor for class com.jess.arms.http.imageloader.ImageConfig
 
imageLoader() - Method in interface com.jess.arms.di.component.AppComponent
图片加载管理器, 用于加载图片的管理类, 使用策略者模式, 可在运行时动态替换任何图片加载框架 arms-imageloader-glide 提供 Glide 的策略实现类, 也可以自行实现 需要在 ConfigModule.applyOptions(Context, GlobalConfigModule.Builder) 中 手动注册 BaseImageLoaderStrategy, ImageLoader 才能正常使用
ImageLoader - Class in com.jess.arms.http.imageloader
================================================ ImageLoader 使用策略模式和建造者模式,可以动态切换图片请求框架(比如说切换成 Picasso ) 当需要切换图片请求框架或图片请求框架升级后变更了 Api 时 这里可以将影响范围降到最低,所以封装 ImageLoader 是为了屏蔽这个风险
ImageLoader() - Constructor for class com.jess.arms.http.imageloader.ImageLoader
 
imageLoaderStrategy(BaseImageLoaderStrategy) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
imageView - Variable in class com.jess.arms.http.imageloader.ImageConfig
 
IModel - Interface in com.jess.arms.mvp
================================================ 框架要求框架中的每个 Model 都需要实现此类,以满足规范
inflate(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
填充view
inflateView(ContextThemeWrapper, int) - Static method in class com.jess.arms.widget.CustomPopupWindow
用于填充contentView,必须传ContextThemeWrapper(比如activity)不然popupwindow要报错
init() - Method in class com.jess.arms.base.BaseService
初始化
init(Application) - Method in class com.jess.arms.integration.AppManager
 
initData(Bundle) - Method in interface com.jess.arms.base.delegate.IActivity
初始化数据
initData(Bundle) - Method in interface com.jess.arms.base.delegate.IFragment
初始化数据
initPopupView(View) - Method in interface com.jess.arms.widget.CustomPopupWindow.CustomPopupWindowListener
 
initView(Bundle) - Method in interface com.jess.arms.base.delegate.IActivity
初始化 View, 如果 IActivity.initView(Bundle) 返回 0, 框架则不会调用 Activity.setContentView(int)
initView(LayoutInflater, ViewGroup, Bundle) - Method in interface com.jess.arms.base.delegate.IFragment
初始化 View
inject(AppDelegate) - Method in interface com.jess.arms.di.component.AppComponent
 
injectActivityLifecycle(Context, List<Application.ActivityLifecycleCallbacks>) - Method in interface com.jess.arms.integration.ConfigModule
使用 Application.ActivityLifecycleCallbacksActivity 的生命周期中注入一些操作
injectAppLifecycle(Context, List<AppLifecycles>) - Method in interface com.jess.arms.integration.ConfigModule
使用 AppLifecyclesApplication 的生命周期中注入一些操作
injectFragmentLifecycle(Context, List<FragmentManager.FragmentLifecycleCallbacks>) - Method in interface com.jess.arms.integration.ConfigModule
使用 FragmentManager.FragmentLifecycleCallbacksFragment 的生命周期中注入一些操作
installAPK(Context, File) - Static method in class com.jess.arms.utils.DeviceUtils
安装应用
IntelligentCache<V> - Class in com.jess.arms.integration.cache
================================================ IntelligentCache 含有可将数据永久存储至内存中的存储容器 IntelligentCache.mMap, 和当达到最大容量时可根据 LRU 算法抛弃不合规数据的存储容器 IntelligentCache.mCache
IntelligentCache(int) - Constructor for class com.jess.arms.integration.cache.IntelligentCache
 
intercept(Chain) - Method in class com.jess.arms.http.log.RequestInterceptor
 
IPresenter - Interface in com.jess.arms.mvp
================================================ 框架要求框架中的每个 Presenter 都需要实现此类,以满足规范
IRepositoryManager - Interface in com.jess.arms.integration
================================================ 用来管理网络请求层,以及数据缓存层,以后可能添加数据库请求层 提供给 IModel 必要的 Api 做数据处理
IS_NOT_ADD_ACTIVITY_LIST - Static variable in class com.jess.arms.integration.AppManager
true 为不需要加入到 Activity 容器进行统一管理,默认为 false
isAdded() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
Return true if the fragment is currently added to its activity.
isAdded() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
Return true if the fragment is currently added to its activity.
isEmpty(Object) - Static method in class com.jess.arms.utils.ArmsUtils
 
isExitsSdcard() - Static method in class com.jess.arms.utils.DeviceUtils
判断是否存在sd卡
isFocus(boolean) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
isForm(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isHaveMarket(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
isHtml(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isJson(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isLandscape(Context) - Static method in class com.jess.arms.utils.DeviceUtils
是否是横屏
isLog() - Static method in class com.jess.arms.utils.LogUtils
 
isManifestParsingEnabled() - Method in class com.jess.arms.http.imageloader.glide.GlideConfiguration
 
isOutsideTouch(boolean) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
isPackageExist(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
当前的包是否存在
isParseable(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
是否可以解析
isPlain(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isPortrait(Context) - Static method in class com.jess.arms.utils.DeviceUtils
是否是竖屏
isScreenOn(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
isSdcardReady() - Static method in class com.jess.arms.utils.DeviceUtils
 
isTablet(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
isText(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isUseAutolayout() - Static method in class com.jess.arms.utils.ThirdViewUtil
 
isWifiOpen(Context) - Static method in class com.jess.arms.utils.DeviceUtils
wifi是否开启
isWrap(boolean) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
isXml(MediaType) - Static method in class com.jess.arms.http.log.RequestInterceptor
 
isZhCN(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
IView - Interface in com.jess.arms.mvp
================================================ 框架要求框架中的每个 View 都需要实现此类, 以满足规范

J

jsonFormat(String) - Static method in class com.jess.arms.utils.CharacterHandler
json 格式化

K

KEY_KEEP - Static variable in class com.jess.arms.integration.cache.IntelligentCache
 
keySet() - Method in interface com.jess.arms.integration.cache.Cache
返回当前缓存中含有的所有 key
keySet() - Method in class com.jess.arms.integration.cache.IntelligentCache
IntelligentCache.mMapIntelligentCache.mCachekeySet 合并返回
keySet() - Method in class com.jess.arms.integration.cache.LruCache
返回当前缓存中含有的所有 key
killActivity(Class<?>) - Method in class com.jess.arms.integration.AppManager
关闭指定的 Activity class 的所有的实例
killAll() - Method in class com.jess.arms.integration.AppManager
关闭所有 Activity
killAll(Class<?>...) - Method in class com.jess.arms.integration.AppManager
关闭所有 Activity,排除指定的 Activity
killAll(String...) - Method in class com.jess.arms.integration.AppManager
关闭所有 Activity,排除指定的 Activity
killAll() - Static method in class com.jess.arms.utils.ArmsUtils
killMyself() - Method in interface com.jess.arms.mvp.IView
杀死自己

L

launchActivity(Intent) - Method in interface com.jess.arms.mvp.IView
跳转 Activity
launchCamera(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler) - Static method in class com.jess.arms.utils.PermissionUtil
请求摄像头权限
LAYOUT_FRAMELAYOUT - Static variable in interface com.jess.arms.base.delegate.ActivityDelegate
 
LAYOUT_LINEARLAYOUT - Static variable in interface com.jess.arms.base.delegate.ActivityDelegate
 
LAYOUT_RELATIVELAYOUT - Static variable in interface com.jess.arms.base.delegate.ActivityDelegate
 
lazyLoadData() - Method in class com.jess.arms.base.BaseLazyLoadFragment
第一次可见时触发调用,此处实现具体的数据请求逻辑
Lifecycleable<E> - Interface in com.jess.arms.integration.lifecycle
================================================ 让 Activity/Fragment 实现此接口,即可正常使用 RxLifecycle 无需再继承 RxLifecycle 提供的 Activity/Fragment ,扩展性极强
loadData(Priority, <any>) - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
loadImage(Context, T) - Method in interface com.jess.arms.http.imageloader.BaseImageLoaderStrategy
加载图片
loadImage(Context, T) - Method in class com.jess.arms.http.imageloader.ImageLoader
加载图片
LogUtils - Class in com.jess.arms.utils
================================================ 日志工具类
LruCache<K,V> - Class in com.jess.arms.integration.cache
================================================ LRU 即 Least Recently Used,最近最少使用,也就是说,当缓存满了,会优先淘汰那些最近最不常访问的数据 此种缓存策略为框架默认提供,可自行实现其他缓存策略,如磁盘缓存,为框架或开发者提供缓存的功能
LruCache(int) - Constructor for class com.jess.arms.integration.cache.LruCache
Constructor for LruCache.

M

mActivityLifecycle - Variable in class com.jess.arms.base.delegate.AppDelegate
 
mActivityLifecycleForRxLifecycle - Variable in class com.jess.arms.base.delegate.AppDelegate
 
makeDirs(File) - Static method in class com.jess.arms.utils.DataHelper
创建未存在的文件夹
makeText(Context, String) - Static method in class com.jess.arms.utils.ArmsUtils
单例 toast
ManifestParser - Class in com.jess.arms.integration
================================================ 用于解析 AndroidManifest 中的 Meta 属性 配合 ConfigModule 使用
ManifestParser(Context) - Constructor for class com.jess.arms.integration.ManifestParser
 
mCompositeDisposable - Variable in class com.jess.arms.base.BaseService
 
mCompositeDisposable - Variable in class com.jess.arms.mvp.BasePresenter
 
mContext - Variable in class com.jess.arms.base.BaseFragment
 
mInfos - Variable in class com.jess.arms.base.DefaultAdapter
 
mModel - Variable in class com.jess.arms.mvp.BasePresenter
 
mOnItemClickListener - Variable in class com.jess.arms.base.DefaultAdapter
 
mOnViewClickListener - Variable in class com.jess.arms.base.BaseHolder
 
mPresenter - Variable in class com.jess.arms.base.BaseActivity
 
mPresenter - Variable in class com.jess.arms.base.BaseFragment
 
mRepositoryManager - Variable in class com.jess.arms.mvp.BaseModel
 
mRootView - Variable in class com.jess.arms.mvp.BasePresenter
 
mToast - Static variable in class com.jess.arms.utils.ArmsUtils
 

N

netIsConnected(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
NETTYPE_CMNET - Static variable in class com.jess.arms.utils.DeviceUtils
 
NETTYPE_CMWAP - Static variable in class com.jess.arms.utils.DeviceUtils
 
NETTYPE_WIFI - Static variable in class com.jess.arms.utils.DeviceUtils
 

O

obtainAppComponentFromContext(Context) - Static method in class com.jess.arms.utils.ArmsUtils
 
obtainCacheService(Class<T>) - Method in interface com.jess.arms.integration.IRepositoryManager
根据传入的 Class 获取对应的 RxCache service
obtainCacheService(Class<T>) - Method in class com.jess.arms.integration.RepositoryManager
根据传入的 Class 获取对应的 RxCache service
obtainRetrofitService(Class<T>) - Method in interface com.jess.arms.integration.IRepositoryManager
根据传入的 Class 获取对应的 Retrofit service
obtainRetrofitService(Class<T>) - Method in class com.jess.arms.integration.RepositoryManager
根据传入的 Class 获取对应的 Retrofit service
okHttpClient() - Method in interface com.jess.arms.di.component.AppComponent
网络请求框架
okhttpConfiguration(ClientModule.OkhttpConfiguration) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
OkHttpStreamFetcher - Class in com.jess.arms.http
Fetches an InputStream using the okhttp library.
OkHttpStreamFetcher(Call.Factory, GlideUrl) - Constructor for class com.jess.arms.http.OkHttpStreamFetcher
 
OkHttpUrlLoader - Class in com.jess.arms.http
A simple model loader for fetching media over http/https using OkHttp.
OkHttpUrlLoader(Call.Factory) - Constructor for class com.jess.arms.http.OkHttpUrlLoader
 
OkHttpUrlLoader.Factory - Class in com.jess.arms.http
The default factory for OkHttpUrlLoaders.
onActivityCreate(Bundle) - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onActivityCreate(Bundle) - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onActivityCreated(Activity, Bundle) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityCreated(Activity, Bundle) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
通过桥梁对象 BehaviorSubject<ActivityEvent> mLifecycleSubject 在每个 Activity 的生命周期中发出对应的生命周期事件
onActivityDestroyed(Activity) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityDestroyed(Activity) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onActivityPaused(Activity) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityPaused(Activity) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onActivityResumed(Activity) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityResumed(Activity) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onActivitySaveInstanceState(Activity, Bundle) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivitySaveInstanceState(Activity, Bundle) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onActivityStarted(Activity) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityStarted(Activity) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onActivityStopped(Activity) - Method in class com.jess.arms.integration.ActivityLifecycle
 
onActivityStopped(Activity) - Method in class com.jess.arms.integration.lifecycle.ActivityLifecycleForRxLifecycle
 
onAttach(Context) - Method in class com.jess.arms.base.BaseFragment
 
onAttach(Context) - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onAttach(Context) - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onBind(Intent) - Method in class com.jess.arms.base.BaseService
 
onBindViewHolder(BaseHolder<T>, int) - Method in class com.jess.arms.base.DefaultAdapter
绑定数据
onClick(View) - Method in class com.jess.arms.base.BaseHolder
 
onCreate(Bundle) - Method in class com.jess.arms.base.BaseActivity
 
onCreate() - Method in class com.jess.arms.base.BaseApplication
 
onCreate() - Method in class com.jess.arms.base.BaseService
 
onCreate(Bundle) - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onCreate(Bundle) - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onCreate(Application) - Method in class com.jess.arms.base.delegate.AppDelegate
 
onCreate(Application) - Method in interface com.jess.arms.base.delegate.AppLifecycles
 
onCreate(Bundle) - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onCreate(Bundle) - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onCreateView(String, Context, AttributeSet) - Method in class com.jess.arms.base.BaseActivity
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.jess.arms.base.BaseFragment
 
onCreateView(View, Bundle) - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onCreateView(View, Bundle) - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onCreateViewHolder(ViewGroup, int) - Method in class com.jess.arms.base.DefaultAdapter
创建 BaseHolder
onDestroy() - Method in class com.jess.arms.base.BaseActivity
 
onDestroy() - Method in class com.jess.arms.base.BaseFragment
 
onDestroy() - Method in class com.jess.arms.base.BaseService
 
onDestroy() - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onDestroy() - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onDestroy() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onDestroy() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onDestroy() - Method in class com.jess.arms.mvp.BaseModel
在框架中 BasePresenter.onDestroy() 时会默认调用 IModel.onDestroy()
onDestroy() - Method in class com.jess.arms.mvp.BasePresenter
在框架中 Activity.onDestroy() 时会默认调用 IPresenter.onDestroy()
onDestroy() - Method in interface com.jess.arms.mvp.IModel
在框架中 BasePresenter.onDestroy() 时会默认调用 IModel.onDestroy()
onDestroy() - Method in interface com.jess.arms.mvp.IPresenter
在框架中 Activity.onDestroy() 时会默认调用 IPresenter.onDestroy()
onDestroyView() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onDestroyView() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onDetach() - Method in class com.jess.arms.base.BaseFragment
 
onDetach() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onDetach() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onFailure(Call, IOException) - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
onFragmentActivityCreated(FragmentManager, Fragment, Bundle) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentAttached(FragmentManager, Fragment, Context) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentAttached(FragmentManager, Fragment, Context) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentCreated(FragmentManager, Fragment, Bundle) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentCreated(FragmentManager, Fragment, Bundle) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentDestroyed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentDestroyed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentDetached(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentDetached(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentPaused(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentPaused(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentResumed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentResumed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentSaveInstanceState(FragmentManager, Fragment, Bundle) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentStarted(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentStarted(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentStopped(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentStopped(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentViewCreated(FragmentManager, Fragment, View, Bundle) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentViewCreated(FragmentManager, Fragment, View, Bundle) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onFragmentViewDestroyed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.FragmentLifecycle
 
onFragmentViewDestroyed(FragmentManager, Fragment) - Method in class com.jess.arms.integration.lifecycle.FragmentLifecycleForRxLifecycle
 
onHttpRequestBefore(Interceptor.Chain, Request) - Method in interface com.jess.arms.http.GlobalHttpHandler
这里可以在请求服务器之前拿到 Request, 做一些操作比如给 Request 统一添加 token 或者 header 以及参数加密等操作
onHttpResultResponse(String, Interceptor.Chain, Response) - Method in interface com.jess.arms.http.GlobalHttpHandler
这里可以先客户端一步拿到每一次 Http 请求的结果, 可以先解析成 Json, 再做一些操作, 如检测到 token 过期后 重新请求 token, 并重新执行请求
onItemClick(View, int, T, int) - Method in interface com.jess.arms.base.DefaultAdapter.OnRecyclerViewItemClickListener
item 被点击
onItemEvicted(K, V) - Method in class com.jess.arms.integration.cache.LruCache
当缓存中有被驱逐的条目时,会回调此方法,默认空实现,子类可以重写这个方法
onPause() - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onPause() - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onPause() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onPause() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onReceive(Message) - Method in class com.jess.arms.integration.AppManager
Deprecated.
onRelease() - Method in class com.jess.arms.base.BaseHolder
在 Activity 的 onDestroy 中使用 DefaultAdapter.releaseAllHolder(RecyclerView) 方法 (super.onDestroy() 之前) BaseHolder.onRelease() 才会被调用, 可以在此方法中释放一些资源
onRequestPermissionFailure(List<String>) - Method in interface com.jess.arms.utils.PermissionUtil.RequestPermission
用户拒绝了权限请求, 权限请求失败, 但还可以继续请求该权限
onRequestPermissionFailureWithAskNeverAgain(List<String>) - Method in interface com.jess.arms.utils.PermissionUtil.RequestPermission
用户拒绝了权限请求并且用户选择了以后不再询问, 权限请求失败, 这时将不能继续请求该权限, 需要提示用户进入设置页面打开该权限
onRequestPermissionSuccess() - Method in interface com.jess.arms.utils.PermissionUtil.RequestPermission
权限请求成功
onResponse(Call, Response) - Method in class com.jess.arms.http.OkHttpStreamFetcher
 
onResume() - Method in class com.jess.arms.base.BaseLazyLoadFragment
保证在initData后触发
onResume() - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onResume() - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onResume() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onResume() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onSaveInstanceState(Bundle) - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onSaveInstanceState(Bundle) - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onSaveInstanceState(Bundle) - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onSaveInstanceState(Bundle) - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onStart() - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onStart() - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onStart() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onStart() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onStart() - Method in class com.jess.arms.mvp.BasePresenter
 
onStart() - Method in interface com.jess.arms.mvp.IPresenter
做一些初始化操作
onStop() - Method in interface com.jess.arms.base.delegate.ActivityDelegate
 
onStop() - Method in class com.jess.arms.base.delegate.ActivityDelegateImpl
 
onStop() - Method in interface com.jess.arms.base.delegate.FragmentDelegate
 
onStop() - Method in class com.jess.arms.base.delegate.FragmentDelegateImpl
 
onTerminate() - Method in class com.jess.arms.base.BaseApplication
在模拟环境中程序终止时会被调用
onTerminate(Application) - Method in class com.jess.arms.base.delegate.AppDelegate
 
onTerminate(Application) - Method in interface com.jess.arms.base.delegate.AppLifecycles
 
onViewClick(View, int) - Method in interface com.jess.arms.base.BaseHolder.OnViewClickListener
item 被点击
openApp(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
 
openAppActivity(Context, String, String) - Static method in class com.jess.arms.utils.DeviceUtils
 
openCamera(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
openDail(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
openDial(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
拨打电话
openSendMsg(Context) - Static method in class com.jess.arms.utils.DeviceUtils
 
openSMS(Context, String, String) - Static method in class com.jess.arms.utils.DeviceUtils
 

P

parentView(View) - Method in class com.jess.arms.widget.CustomPopupWindow.Builder
 
parse() - Method in class com.jess.arms.integration.ManifestParser
 
parseParams(Request) - Static method in class com.jess.arms.http.log.RequestInterceptor
解析请求服务器的请求参数
percent(double, double) - Static method in class com.jess.arms.utils.DeviceUtils
 
percent2(double, double) - Static method in class com.jess.arms.utils.DeviceUtils
 
PermissionUtil - Class in com.jess.arms.utils
================================================ 权限请求工具类
PermissionUtil.RequestPermission - Interface in com.jess.arms.utils
 
pix2dip(Context, int) - Static method in class com.jess.arms.utils.ArmsUtils
px 转 dp
pixelsToDp(Context, float) - Static method in class com.jess.arms.utils.DeviceUtils
px转dp
placeholder - Variable in class com.jess.arms.http.imageloader.ImageConfig
 
Platform - Class in com.jess.arms.base
================================================ Created by JessYan on 2018/7/27 15:32 Contact me Follow me ================================================
Platform() - Constructor for class com.jess.arms.base.Platform
 
post(Message) - Static method in class com.jess.arms.integration.AppManager
Deprecated.
post(Object) - Method in class com.jess.arms.integration.EventBusManager
发送事件, 如果您在项目中同时依赖了两个 EventBus, 请自己使用想使用的 EventBus 的 Api 发送事件
postSticky(Object) - Method in class com.jess.arms.integration.EventBusManager
发送黏性事件, 如果您在项目中同时依赖了两个 EventBus, 请自己使用想使用的 EventBus 的 Api 发送黏性事件
PRE_HC - Static variable in class com.jess.arms.utils.DeviceUtils
 
Preconditions - Class in com.jess.arms.utils
================================================ Created by JessYan on 26/09/2016 13:59 Contact me Follow me ================================================
printFileRequest(Request) - Method in class com.jess.arms.http.log.DefaultFormatPrinter
打印网络请求信息, 当网络请求时 {okhttp3.RequestBody} 为 null 或不可解析的情况
printFileRequest(Request) - Method in interface com.jess.arms.http.log.FormatPrinter
打印网络请求信息, 当网络请求时 {okhttp3.RequestBody} 为 null 或不可解析的情况
printFileResponse(long, boolean, int, String, List<String>, String, String) - Method in class com.jess.arms.http.log.DefaultFormatPrinter
打印网络响应信息, 当网络响应时 {okhttp3.ResponseBody} 为 null 或不可解析的情况
printFileResponse(long, boolean, int, String, List<String>, String, String) - Method in interface com.jess.arms.http.log.FormatPrinter
打印网络响应信息, 当网络响应时 {okhttp3.ResponseBody} 为 null 或不可解析的情况
printHttpLogLevel(RequestInterceptor.Level) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
printJsonRequest(Request, String) - Method in class com.jess.arms.http.log.DefaultFormatPrinter
打印网络请求信息, 当网络请求时 {okhttp3.RequestBody} 可以解析的情况
printJsonRequest(Request, String) - Method in interface com.jess.arms.http.log.FormatPrinter
打印网络请求信息, 当网络请求时 {okhttp3.RequestBody} 可以解析的情况
printJsonResponse(long, boolean, int, String, MediaType, String, List<String>, String, String) - Method in class com.jess.arms.http.log.DefaultFormatPrinter
打印网络响应信息, 当网络响应时 {okhttp3.ResponseBody} 可以解析的情况
printJsonResponse(long, boolean, int, String, MediaType, String, List<String>, String, String) - Method in interface com.jess.arms.http.log.FormatPrinter
打印网络响应信息, 当网络响应时 {okhttp3.ResponseBody} 可以解析的情况
provideCache() - Method in class com.jess.arms.base.BaseActivity
 
provideCache() - Method in class com.jess.arms.base.BaseFragment
 
provideCache() - Method in interface com.jess.arms.base.delegate.IActivity
提供在 Activity 生命周期内的缓存容器, 可向此 Activity 存取一些必要的数据 此缓存容器和 Activity 的生命周期绑定, 如果 Activity 在屏幕旋转或者配置更改的情况下 重新创建, 那此缓存容器中的数据也会被清空, 如果你想避免此种情况请使用 LifecycleModel
provideCache() - Method in interface com.jess.arms.base.delegate.IFragment
提供在 Fragment 生命周期内的缓存容器, 可向此 Fragment 存取一些必要的数据 此缓存容器和 Fragment 的生命周期绑定, 如果 Fragment 在屏幕旋转或者配置更改的情况下 重新创建, 那此缓存容器中的数据也会被清空, 如果你想避免此种情况请使用 LifecycleModel
provideLifecycleSubject() - Method in class com.jess.arms.base.BaseActivity
 
provideLifecycleSubject() - Method in class com.jess.arms.base.BaseFragment
 
provideLifecycleSubject() - Method in interface com.jess.arms.integration.lifecycle.Lifecycleable
 
put(K, V) - Method in interface com.jess.arms.integration.cache.Cache
keyvalue 以条目的形式加入缓存,如果这个 key 在缓存中已经有对应的 value 则此 value 被新的 value 替换并返回,如果为 null 说明是一个新条目
put(String, V) - Method in class com.jess.arms.integration.cache.IntelligentCache
如果在 key 中使用 IntelligentCache.KEY_KEEP 作为其前缀, 则操作 IntelligentCache.mMap, 否则操作 IntelligentCache.mCache
put(K, V) - Method in class com.jess.arms.integration.cache.LruCache
keyvalue 以条目的形式加入缓存,如果这个 key 在缓存中已经有对应的 value 则此 value 被新的 value 替换并返回,如果为 null 说明是一个新条目
px2sp(Context, float) - Static method in class com.jess.arms.utils.ArmsUtils
px 转 sp

R

readPhonestate(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler) - Static method in class com.jess.arms.utils.PermissionUtil
请求获取手机状态的权限
register(Object) - Method in class com.jess.arms.integration.EventBusManager
注册订阅者, 允许在项目中同时依赖两个 EventBus, 只要您喜欢
registerComponents(Context, Glide, Registry) - Method in class com.jess.arms.http.imageloader.glide.GlideConfiguration
 
release() - Method in class com.jess.arms.integration.AppManager
释放资源
releaseAllHolder(RecyclerView) - Static method in class com.jess.arms.base.DefaultAdapter
遍历所有 BaseHolder, 释放他们需要释放的资源
remove(K) - Method in interface com.jess.arms.integration.cache.Cache
移除缓存中这个 key 所对应的条目,并返回所移除条目的 value 如果返回为 null 则有可能时因为这个 key 对应的 value 为 null 或条目不存在
remove(String) - Method in class com.jess.arms.integration.cache.IntelligentCache
如果在 key 中使用 IntelligentCache.KEY_KEEP 作为其前缀, 则操作 IntelligentCache.mMap, 否则操作 IntelligentCache.mCache
remove(K) - Method in class com.jess.arms.integration.cache.LruCache
移除缓存中这个 key 所对应的条目,并返回所移除条目的 value 如果返回为 null 则有可能时因为这个 key 对应的 valuenull 或条目不存在
removeActivity(Activity) - Method in class com.jess.arms.integration.AppManager
删除集合里的指定的 Activity 实例
removeActivity(int) - Method in class com.jess.arms.integration.AppManager
删除集合里的指定位置的 Activity
removeChild(View) - Static method in class com.jess.arms.utils.ArmsUtils
移除孩子
removeSF(Context, String) - Static method in class com.jess.arms.utils.DataHelper
清除某个内容
removeStickyEvent(Class<T>) - Method in class com.jess.arms.integration.EventBusManager
注销黏性事件, 如果您在项目中同时依赖了两个 EventBus, 请自己使用想使用的 EventBus 的 Api 注销黏性事件
repositoryManager() - Method in interface com.jess.arms.di.component.AppComponent
用于管理网络请求层, 以及数据缓存层
RepositoryManager - Class in com.jess.arms.integration
================================================ 用来管理网络请求层,以及数据缓存层,以后可能添加数据库请求层 提供给 IModel 层必要的 Api 做数据处理
RepositoryManager() - Constructor for class com.jess.arms.integration.RepositoryManager
 
RequestInterceptor - Class in com.jess.arms.http.log
================================================ 解析框架中的网络请求和响应结果,并以日志形式输出,调试神器 可使用 GlobalConfigModule.Builder#printHttpLogLevel(Level) 控制或关闭日志
RequestInterceptor() - Constructor for class com.jess.arms.http.log.RequestInterceptor
 
RequestInterceptor.Level - Enum in com.jess.arms.http.log
 
requestPermission(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler, String...) - Static method in class com.jess.arms.utils.PermissionUtil
 
responseErrorListener(ResponseErrorListener) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
RETROFIT_SERVICE_CACHE - Static variable in interface com.jess.arms.integration.cache.CacheType
RepositoryManager中存储 Retrofit Service 的容器
RETROFIT_SERVICE_CACHE_TYPE_ID - Static variable in interface com.jess.arms.integration.cache.CacheType
 
retrofitConfiguration(ClientModule.RetrofitConfiguration) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
rotateBitmapByDegree(Bitmap, int) - Static method in class com.jess.arms.utils.DrawableProvider
将图片按照某个角度进行旋转
rxCacheConfiguration(ClientModule.RxCacheConfiguration) - Method in class com.jess.arms.di.module.GlobalConfigModule.Builder
 
rxErrorHandler() - Method in interface com.jess.arms.di.component.AppComponent
RxJava 错误处理管理类
RxLifecycleUtils - Class in com.jess.arms.utils
================================================ 使用此类操作 RxLifecycle 的特性

S

saveDeviceData(Context, String, T) - Static method in class com.jess.arms.utils.DataHelper
将对象储存到sharepreference
sendEmail(Context, String, String, String...) - Static method in class com.jess.arms.utils.DeviceUtils
发送邮件
sendSms(PermissionUtil.RequestPermission, RxPermissions, RxErrorHandler) - Static method in class com.jess.arms.utils.PermissionUtil
请求发送短信权限
setCurrentActivity(Activity) - Method in class com.jess.arms.integration.AppManager
将在前台的 Activity 赋值给 currentActivity, 注意此方法是在 Activity.onResume() 方法执行时将栈顶的 Activity 赋值给 currentActivity 所以在栈顶的 Activity 执行 Activity.onCreate(android.os.Bundle) 方法时使用 AppManager.getCurrentActivity() 获取的就不是当前栈顶的 Activity, 可能是上一个 Activity 如果在 App 启动第一个 Activity 执行 Activity.onCreate(android.os.Bundle) 方法时使用 AppManager.getCurrentActivity() 则会出现返回为 null 的情况 想避免这种情况请使用 AppManager.getTopActivity()
setData(T, int) - Method in class com.jess.arms.base.BaseHolder
设置数据
setData(Object) - Method in interface com.jess.arms.base.delegate.IFragment
通过此方法可以使 Fragment 能够与外界做一些交互和通信, 比如说外部的 Activity 想让自己持有的某个 Fragment 对象执行一些方法, 建议在有多个需要与外界交互的方法时, 统一传 Message, 通过 what 字段来区分不同的方法, 在 IFragment.setData(Object) 方法中就可以 switch 做不同的操作, 这样就可以用统一的入口方法做多个不同的操作, 可以起到分发的作用
setFullScreen(Activity) - Static method in class com.jess.arms.utils.DeviceUtils
 
setHandleListener(AppManager.HandleListener) - Method in class com.jess.arms.integration.AppManager
Deprecated.
setIntergerSF(Context, String, int) - Static method in class com.jess.arms.utils.DataHelper
存储重要信息到sharedPreferences;
setLeftDrawable(TextView, Drawable) - Static method in class com.jess.arms.utils.DrawableProvider
设置左边的drawable
setLoadImgStrategy(BaseImageLoaderStrategy) - Method in class com.jess.arms.http.imageloader.ImageLoader
可在运行时随意切换 BaseImageLoaderStrategy
setLog(boolean) - Static method in class com.jess.arms.utils.LogUtils
 
setOnItemClickListener(BaseHolder.OnViewClickListener) - Method in class com.jess.arms.base.BaseHolder
 
setOnItemClickListener(DefaultAdapter.OnRecyclerViewItemClickListener) - Method in class com.jess.arms.base.DefaultAdapter
设置 item 点击事件
setSizeMultiplier(float) - Method in class com.jess.arms.integration.cache.LruCache
设置一个系数应用于当时构造函数中所传入的 size, 从而得到一个新的 LruCache.maxSize 并会立即调用 LruCache.evict() 开始清除满足条件的条目
setStringSF(Context, String, String) - Static method in class com.jess.arms.utils.DataHelper
存储重要信息到sharedPreferences;
setupActivityComponent(AppComponent) - Method in interface com.jess.arms.base.delegate.IActivity
提供 AppComponent (提供所有的单例对象) 给实现类, 进行 Component 依赖
setupFragmentComponent(AppComponent) - Method in interface com.jess.arms.base.delegate.IFragment
提供 AppComponent (提供所有的单例对象) 给实现类, 进行 Component 依赖
setUserVisibleHint(boolean) - Method in class com.jess.arms.base.BaseLazyLoadFragment
 
setViewHintSize(Context, int, TextView, int) - Static method in class com.jess.arms.utils.ArmsUtils
设置hint大小
show() - Method in class com.jess.arms.widget.CustomPopupWindow
 
showAnimatedView(View) - Static method in class com.jess.arms.utils.DeviceUtils
 
showLoading() - Method in interface com.jess.arms.mvp.IView
显示加载
showMessage(String) - Method in interface com.jess.arms.mvp.IView
显示信息
showSnackbar(String, boolean) - Method in class com.jess.arms.integration.AppManager
让在前台的 Activity, 使用 Snackbar 显示文本内容
showSoftKeyboard(Dialog) - Static method in class com.jess.arms.utils.DeviceUtils
 
showSoftKeyboard(Context, View) - Static method in class com.jess.arms.utils.DeviceUtils
 
showSystemShareOption(Activity, String, String) - Static method in class com.jess.arms.utils.DeviceUtils
调用系统安装了的应用分享
size() - Method in interface com.jess.arms.integration.cache.Cache
返回当前缓存已占用的总 size
size() - Method in class com.jess.arms.integration.cache.IntelligentCache
IntelligentCache.mMapIntelligentCache.mCachesize 相加后返回
size() - Method in class com.jess.arms.integration.cache.LruCache
返回当前缓存已占用的总 size
snackbarText(String) - Static method in class com.jess.arms.utils.ArmsUtils
使用 Snackbar 显示文本消息 Arms 已将 com.android.support:design 从依赖中移除 (目的是减小 Arms 体积, design 库中含有太多 View) 因为 Snackbar 在 com.android.support:design 库中, 所以如果框架使用者没有自行依赖 com.android.support:design Arms 则会使用 Toast 替代 Snackbar 显示信息, 如果框架使用者依赖了 arms-autolayout 库就不用依赖 com.android.support:design 了 因为在 arms-autolayout 库中已经依赖有 com.android.support:design
snackbarTextWithLong(String) - Static method in class com.jess.arms.utils.ArmsUtils
使用 Snackbar 长时间显示文本消息 Arms 已将 com.android.support:design 从依赖中移除 (目的是减小 Arms 体积, design 库中含有太多 View) 因为 Snackbar 在 com.android.support:design 库中, 所以如果框架使用者没有自行依赖 com.android.support:design Arms 则会使用 Toast 替代 Snackbar 显示信息, 如果框架使用者依赖了 arms-autolayout 库就不用依赖 com.android.support:design 了 因为在 arms-autolayout 库中已经依赖有 com.android.support:design
sp2px(Context, float) - Static method in class com.jess.arms.utils.ArmsUtils
sp 转 px
SP_NAME - Static variable in class com.jess.arms.utils.DataHelper
 
startActivity(Intent) - Method in class com.jess.arms.integration.AppManager
让在栈顶的 Activity ,打开指定的 Activity
startActivity(Class) - Method in class com.jess.arms.integration.AppManager
让在栈顶的 Activity ,打开指定的 Activity
startActivity(Class) - Static method in class com.jess.arms.utils.ArmsUtils
跳转界面 1, 通过 AppManager.startActivity(Class)
startActivity(Intent) - Static method in class com.jess.arms.utils.ArmsUtils
跳转界面 2, 通过 AppManager.startActivity(Intent)
startActivity(Activity, Class) - Static method in class com.jess.arms.utils.ArmsUtils
跳转界面 3
startActivity(Activity, Intent) - Static method in class com.jess.arms.utils.ArmsUtils
跳转界面 4
statuInScreen(Activity) - Static method in class com.jess.arms.utils.ArmsUtils
全屏,并且沉侵式状态栏
str2HexStr(String) - Static method in class com.jess.arms.utils.CharacterHandler
字符串转换成十六进制字符串

T

TAG - Variable in class com.jess.arms.base.BaseActivity
 
TAG - Variable in class com.jess.arms.base.BaseFragment
 
TAG - Variable in class com.jess.arms.base.BaseHolder
 
TAG - Variable in class com.jess.arms.base.BaseService
 
TAG - Variable in class com.jess.arms.integration.AppManager
 
TAG - Variable in class com.jess.arms.mvp.BasePresenter
 
TAG - Static variable in class com.jess.arms.utils.PermissionUtil
 
teardown() - Method in class com.jess.arms.http.OkHttpUrlLoader.Factory
 
ThirdViewUtil - Class in com.jess.arms.utils
================================================ Created by JessYan on 17/03/2016 13:59 Contact me Follow me ================================================
toogleSoftKeyboard(Context, View) - Static method in class com.jess.arms.utils.DeviceUtils
 
trimToSize(int) - Method in class com.jess.arms.integration.cache.LruCache
当指定的 size 小于当前缓存已占用的总 size 时,会开始清除缓存中最近最少使用的条目
tryLoadData() - Method in class com.jess.arms.base.BaseLazyLoadFragment
 

U

unDispose() - Method in class com.jess.arms.base.BaseService
 
unDispose() - Method in class com.jess.arms.mvp.BasePresenter
停止集合中正在执行的 RxJava 任务
uninstallApk(Context, String) - Static method in class com.jess.arms.utils.DeviceUtils
卸载软件
unregister(Object) - Method in class com.jess.arms.integration.EventBusManager
注销订阅者, 允许在项目中同时依赖两个 EventBus, 只要您喜欢
url() - Method in interface com.jess.arms.http.BaseUrl
在调用 Retrofit API 接口之前,使用 Okhttp 或其他方式,请求到正确的 BaseUrl 并通过此方法返回
url - Variable in class com.jess.arms.http.imageloader.ImageConfig
 
UrlEncoderUtils - Class in com.jess.arms.utils
================================================ Created by JessYan on 2018/9/14 14:10 Contact me Follow me ================================================
useEventBus() - Method in class com.jess.arms.base.BaseActivity
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useEventBus() - Method in class com.jess.arms.base.BaseFragment
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useEventBus() - Method in class com.jess.arms.base.BaseService
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useEventBus() - Method in interface com.jess.arms.base.delegate.IActivity
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useEventBus() - Method in interface com.jess.arms.base.delegate.IFragment
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useEventBus() - Method in class com.jess.arms.mvp.BasePresenter
是否使用 EventBus Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
useFragment() - Method in class com.jess.arms.base.BaseActivity
这个 Activity 是否会使用 Fragment, 框架会根据这个属性判断是否注册 android.support.v4.app.FragmentManager.FragmentLifecycleCallbacks 如果返回 false, 那意味着这个 Activity 不需要绑定 Fragment, 那你再在这个 Activity 中绑定继承于 BaseFragmentFragment 将不起任何作用
useFragment() - Method in interface com.jess.arms.base.delegate.IActivity
这个 Activity 是否会使用 Fragment,框架会根据这个属性判断是否注册 FragmentManager.FragmentLifecycleCallbacks 如果返回false,那意味着这个 Activity 不需要绑定 Fragment,那你再在这个 Activity 中绑定继承于 BaseFragment 的 Fragment 将不起任何作用

V

valueOf(String) - Static method in enum com.jess.arms.http.log.RequestInterceptor.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.jess.arms.http.log.RequestInterceptor.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

warnInfo(String, String) - Static method in class com.jess.arms.utils.LogUtils
 
warnInfo(String) - Static method in class com.jess.arms.utils.LogUtils
 

X

xmlFormat(String) - Static method in class com.jess.arms.utils.CharacterHandler
xml 格式化

Z

ZipHelper - Class in com.jess.arms.utils
================================================ 处理压缩和解压的工具类
A B C D E F G H I J K L M N O P R S T U V W X Z 
Skip navigation links