Can we use Fragments for using number of activities within a single activities that runs concurrently

StackOverflow https://stackoverflow.com/questions/5831282

  •  27-10-2019
  •  | 
  •  

문제

Is it possible to use fragments for number of activities within a single activities which runs concurrently.i want to know that if fragments is same as activity.If i will use fragments Can it serve my purpose.

도움이 되었습니까?

해결책

Fragments are not as activities. And they won't let you do what you want. I will repeat my self: use Services or AsyncTasks.

As for Fragments, they are more like reusable views.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top