add thread,fragment demo