-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: onMarker event not fired when postlayout event set #13753
Comments
can you check it in a recent SDK. 9.3.2 is very old and even if there was an error in that version it won't be fixed. |
and a side note: I've #13095 because I had trouble with the markers too. I've used them for lazy loading and especially on very fast scrolls not all makers fired. With the |
I was trying on 11.1.1 too, but maybe yesterday I got the cache dirty, today on 11.1.1 it's working fine. |
The error from the log: |
any other lines with Titanium classes in that error? |
Sure: |
but that is with 9.3.1 again, correct? The |
Yeah I've a new version in developing using sdk 11 but trying to fixing the sdk 9 in production now |
if you want to patch your 9.3.x then have a look at the current implementation: |
It's possible that I cannot find the file in 9.3.2 ? |
I've linked it above: https://github.com/tidev/titanium_mobile/blob/9_3_X/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/ListViewProxy.java#L461 |
Yep I saw it maybe is my fault but if I go to the folder in OSX where are stored the SDKs I cannot find the lines your're pointing, I will check |
you have to build a custom SDK for Android, you can't just change the lines in an existing SDK |
Ok so I were understanding it right, sorry for the misunderstood |
I have searched and made sure there are no existing issues for the issue I am filing
Description
Hello everyone, I have encountered a bug, I have a ListView with onMarker event set on creation in Alloy.
When you open the view I load the data in the listview and use the setMarker method to launch the update and append data to the list.
Everything was working fine until I put the first loading data on a postlayout event in the container view like this:
function loadView() { $.bodyView.removeEventListener('postlayout', loadView); loadNote(); }
On iOS everything is working fine, on Android it stops the marker event to fire
Expected Behavior
The makerk event should fire
Actual behavior
The marker is not firing
Reproducible sample
/
Steps to reproduce
Create an alloy view with postlayout event ad a listview inside with marker event
In the controller add the code for post layout with the removal code for postlayout
Platform
Android
SDK version you are using
9.3.2
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered: