I'm new to Android and I want a few questions.

Source: Internet
Author: User

============ Problem Description ============


The company suddenly let me develop a mobile app myself also did not do before the mobile phone, so I can only read reading


I've got a couple of things I'm not really sure about. I hope you will advise

1, News list dropdown refresh is used by the ListView is it?
2, news list right swipe into the news page, left swipe to exit the news list what kind of control is this?
3. How does video view connect to live video when playing videos online?
4, how to set the automatic scrolling of the picture slide and the finger left and right scrolling effect?


Temporarily on these 4 questions, I hope you help me. I'll read it myself.

============ Solution 1============


You have a lot of problems, I give you the answer to the first question, is to use the ListView

============ Solution 2============


You have too much problem, I give you the answer to the second question, is to use the Ontouch

============ Solution 3============


You have too many questions, I give you the answer to the fourth question, is to use the ontouch+ timer

============ Solution 4============


quoted landlord ning901009 reply: The
company suddenly let me develop a mobile app myself also did not do before the mobile phone so I can only be read


I've got a couple of things I'm not really sure about. I hope you will advise

1, News list dropdown refresh is used by the ListView is it?
2, news list right swipe into the news page, left swipe to exit the news list what kind of control is this?
3. How does video view connect to live video when playing videos online?
4, how to set the automatic scrolling of the picture slide and the finger left and right scrolling effect?


Temporarily on these 4 questions, I hope you help me. I'll read it myself.

(1) drop-down refresh control This is a ListView, but the native ListView has no pull-down effect, and in the short term you write your own estimate of back, suggesting that you cite the famous source project https://github.com/johannilsson/ Android-pulltorefresh
(2) Left slide right slide more with what control is not relevant, the key is you have to listen to the hand events, and then make the corresponding deal, please learn ontouchlistener, Ongesturelistener
(3) Don't understand what you mean by this live broadcast, do you mean like a TV broadcast, or do you play a simple video yourself? If it is the former, you need to get a live TV license, and then get a response API, direct use of the Android native player or do a player to play, then the words are similar, but you have to define the source of the address of the screen.
(4) can use viewpage+ second +timer

I'm new to Android and I want a few questions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.