Update views in one Activity from another

前端 未结 3 1575
渐次进展
渐次进展 2021-01-26 17:31

I am trying to emulate a software keyboard using an Activity with Theme.Dialog. The keyboard activity covers only part of the screen. The underlying activity is still active a

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-26 18:10

    if u are using custom dialog u can acess the variables in main activity using its mainactivity context.for that u need to cast the context in mainactivity type

提交回复
热议问题