Home > Mobile >  Bosses for answers
Bosses for answers

Time:10-04

Do not use the ID in android how to add the click event to the picture

CodePudding user response:

The
refer to the original poster clever people engaging reply:
android how do not use the ID to add to the picture in the click event

What is no ID, total want to know the picture

CodePudding user response:

Is there are too many pictures one by one set image ID too much trouble there is only one path can set the click event of the picture?

CodePudding user response:

reference 1/f, Chinese wolfberry bubble water response:
Quote: refer to the original poster clever people engaging reply:
android how do not use the ID to add to the picture in the click event

What is no ID, total want to know the picture of

Is there are too many pictures one by one set image ID too much trouble there is only one path can set the click event of the picture?

CodePudding user response:

Don't understand, also add the click event picture? Who don't have the id of the add a click event to the picture?

CodePudding user response:

The
reference 4 floor dear Joe reply:
didn't understand, also add picture click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is too much pictures can ask don't picture ID set the click event

CodePudding user response:

refer to fifth floor clever people engaging reply:
Quote: refer to 4th floor dear Joe reply:
understand, pictures and add a click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is the picture too much can ask don't picture ID set the click event

Just understand, what you said is to the ImageView Settings click event?

Can't use the view id set the click event, unless it is in a ListView or GridView, inside a wide array of view or you click on the same processing logic, or any situation requires the view id

CodePudding user response:

refer to 6th floor dear Joe reply:
Quote: refer to fifth floor clever people engaging reply:

Quote: refer to 4th floor dear Joe reply:
understand, also add picture click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is the picture too much can ask don't picture ID set the click event

Just understand, what you said is to the ImageView Settings click event?

Can't use the view id set the click event, unless it is in a ListView or GridView, inside a wide array of view or you click on the same processing logic, or any situation requires the view id

Can put the pictures on the Listview inside or specifically

CodePudding user response:

refer to 7th floor clever people engaging reply:
Quote: refer to the sixth floor dear Joe reply:
Quote: refer to fifth floor clever people engaging reply:

Quote: refer to 4th floor dear Joe reply:
understand, also add picture click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is the picture too much can ask don't picture ID set the click event

Just understand, what you said is to the ImageView Settings click event?

Can't use the view id set the click event, unless it is in a ListView or GridView, inside a wide array of view or you click on the same processing logic, or any situation requires the view id

Can put the pictures on the Listview inside or specifically


I don't know, in a ListView if you meet your demand in a ListView.

Problem is the key to your ImageView click event processing logic is the same, if the same can be done, if different (such as some ImageView click view a larger version, after some jump after the ImageView click page, some ImageView bounced off the pop-up dialog box), it must use ID,

CodePudding user response:

refer to the eighth floor dear Joe reply:
Quote: refer to 7th floor clever people engaging reply:

Quote: refer to the sixth floor dear Joe reply:
Quote: refer to fifth floor clever people engaging reply:

Quote: refer to 4th floor dear Joe reply:
understand, also add picture click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is the picture too much can ask don't picture ID set the click event

Just understand, what you said is to the ImageView Settings click event?

Can't use the view id set the click event, unless it is in a ListView or GridView, inside a wide array of view or you click on the same processing logic, or any situation requires the view id

Can put the pictures on the Listview inside or specifically


I don't know, in a ListView if you meet your demand in a ListView.

Problem is the key to your ImageView click event processing logic is the same, if the same can be done, if different (such as some ImageView click view a larger version, after some jump after the ImageView click page, some ImageView bounced off the pop-up dialog box), it must use ID,


Just jump page image size doesn't change

CodePudding user response:

refer to the eighth floor dear Joe reply:
Quote: refer to 7th floor clever people engaging reply:

Quote: refer to the sixth floor dear Joe reply:
Quote: refer to fifth floor clever people engaging reply:

Quote: refer to 4th floor dear Joe reply:
understand, also add picture click event? Who don't have the id of the add a click event to the picture?

Is to click on the image and then jump to the next page and then is the picture too much can ask don't picture ID set the click event

Just understand, what you said is to the ImageView Settings click event?

Can't use the view id set the click event, unless it is in a ListView or GridView, inside a wide array of view or you click on the same processing logic, or any situation requires the view id

Can put the pictures on the Listview inside or specifically


I don't know, in a ListView if you meet your demand in a ListView.

Problem is the key to your ImageView click event processing logic is the same, if the same can be done, if different (such as some ImageView click view a larger version, after some jump after the ImageView click page, some ImageView bounced off the pop-up dialog box), it must use ID,


And how to use specific can break down

CodePudding user response:

The
references to the tenth floor clever people engaging reply:


How do you use the ListView?

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related