ScrollView inside TableViewRow don't detect touchEvent or click listener - touch

I've a calendar Widget that's a TableView rotated 90 degrees with a container View inside TableViewRows rotated -90 degrees, and a ScrollView inside the the container View.
This ScrollView doesn't detect the click listener event, but if I change it to a View does, but I have a list of items that I can't put in a simple View.
Any workarounds or advices?
Stackoverflow post with prints and ZIP file: TableView: content hidden on rows that are not screen visible (android)
JIRA ticket that has a ZIP with this widget: https://jira.appcelerator.org/browse/AC-631

There is a JIRA related to this functionality TIMOB-13580
As a workaround you can use singletap event.
Hope this will help you

Related

Scroll view cant scroll all the way to the end

So im having this problem in unity where im trying to create a Scroll View but i don't know why, when press the play button and go to the scroll view, it wont let me scroll. It tries to scroll but it always gets back to its original position. I've tried to see other posts and they talk about using the content size filter but even then its still happening. Here are some captures of the scroll view.
This is the scroll view
Scroll View
Scroll View component
This is the viewport
View Port component
And this is the content
Content component
Can someone tell me what am I doing wrong? It would be much appreciated thanks.
I found the solution for this. Seems like i needed to add a vertical layout group.

SWRevealViewController Pan gesture is not working when the from view is scrolling enabled

I have a side menu which is impelemented by SWRevealViewController and my frontView has a collection view.
SWReveal works fine by tap on menu button, but the pen gesture is not working on collection view (which has a horizontal scrolling enabled).
can any one help me to force collection view to accept the pen gesture of the SWReveal?
SWRevealViewController's gesture controller and collection view are been clashing that's why the problem occurs. Other than that as per my view there is no practical way to identify what user wants to open by the gesture.
But Client needs a solution and the image shows it! keep user interaction ON of the view.
Let me know if you find anything else.
Best of luck.
Add below code in viewDidLoad
self.view.addGestureRecognizer(revealViewController().panGestureRecognizer())

touch event not working with horizontal list view (devsmart lib)

I have implemented horizontal list view inside vertical list view using librarty: https://github.com/dinocore1/DevsmartLib-Android.
It is working fine.
I have to implement touch listener on list view to manage visibilty of header view (similar to google chrome's android app'd URL bar). Touch listener works normally for list view (if horizontal list view is not inflated in it). But when user touches the list cell having horizontal list view, then touch event is not handled.
I have also noticed that in horizontal list view, on touch is overridden to manage its scroll.
I also tested this on a list view (having no horizontal list view), and it worked fine.
Any help will be highly appreciated.
Thanks
This is your solution. You need to override the onTouchEvent() as given in following answer-
https://stackoverflow.com/a/7882050/609782

Scroll view should not scroll when user interacts with slider in ios

I have a scroll view which has paging enabled.Its horizontal scrolling so when user scrolled from first page it would land the user in second page and second page has one slider.when the user slides(not touches) on this slider it automatically scrolls to first page because its horizontal scrolling too.Unless its touch on slider user end up in going to first page though user not intended to go to first page.
I had the same kind of problem once but with another control.
Take a look ate this answer to see if it canhelp you :
iPhone - UIScrollView and UIDatePicker scrolling conflict : the one interfer with the second
Does the second view on the scrollView contains any other container like WebView or imageView etc.
If you are showing your data directly on the ScrollView (i.e on second page).I recommend that to add a one more view on your scrollView on second view and render your data on that view the you wil be able to use the main ScrollView and the second view scroll separately.
You could try adding actions for UIControlEventTouchDown, UIControlEventTouchUpInside and UIControlEventTouchUpOutside to your slider. On touch down, do myScrollView.scrollEnabled = NO; and restore scrolling on touch up.

How do you drag-and-drop from a TableView's icon to a stationary icon?

How do we go about coding drag-and-drop (or tap-and-drag) from a cell in a TableView on an iPhone? I'd like to have a set of drop destination icons that are stationary. I've been trying touchesBegan, touchesMoved and touchedEnded methods. These events fire nicely from a View so I can get a swipe to work nicely. Most likely the destination icons will be in a View so I think we are trying to get the drag-and-drop to begin in a TableView cell and end on an icon on a View that is beside the TableView.
Are you trying to drag the entire UITableViewCell, or a UIView inside the cell? Either way, I don't think you'll be able to move the view outside the bounds of its parent, which would be the UITableView.
I have another project where I have a icon or tile (UIImageView) that the user can drag around the screen. After it reaches a certain distance, it snaps back.
Similarly, a possible solution might involve popping up a UIView (perhaps a UIImageView) over top of the table cell when the cell is tapped. The user could drag that around the screen, and you could make it disappear when it's "dropped" on whatever target you have.