android - listview has a large number of items and is variable, click to jump to the activity. Now I want to share an activity, what should I do? ?
巴扎黑
巴扎黑 2017-05-16 13:30:10
0
2
665

You can pass its position as a parameter and then use the switch statement to judge, but the cases inside cannot be dynamically increased or decreased. Is there any other way to write it?

巴扎黑
巴扎黑

reply all(2)
phpcn_u1582

Use action, data, category, extras according to the actual combination, and you can jump to the activity that meets the conditions

巴扎黑

Your question is too vague. I’m not sure what the scenario is. The simplest way is to use webview to display it. Jumping to the activity only carries a URL. You can also use routing. The activity you jump to only does routing forwarding, not routing. The specific display content and which page to jump to are specified by the custom schema information brought by the item.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!