请解释一下我的Android Context类 [英] Please explain me Context class in Android
本文介绍了请解释一下我的Android Context类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新来的Android。有人可以解释我Context类/对象的概念。这是什么?它会被用来做什么?为什么Context类?
解决方案
在编程Android应用程序,你将几乎不需要直接(不可能使用上下文类,因为 I'm new to Android. Can someone explain me the concept of Context class/Object. What it is? What it will be used for? Why Context class? In programming Android applications, you will hardly ever need to use the Context class directly (not possible at all since 这篇关于请解释一下我的Android Context类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!上下文$ c。在所有$ C>是抽象的),但你将需要从中获得像
活动
,服务
等子类
你可能想看看这些了。</ P> 解决方案 Context
is abstract), but you will need the child classes that derive from it like Activity
, Service
etc.
You might want to look these up.
查看全文