Hi there
I'd like to call a b4j function inside a javascript function, here is an example..
This is inside a class module called headline.
Thanks.
PS: This currently works but need to do it the banano way:
I'd like to call a b4j function inside a javascript function, here is an example..
B4X:
#if JavascriptSmart
$(document).on('pagebeforeshow', '#headline', function(){
${BANano.CallSub(Me, "LoadSelectedMovie", Null)}
});
#End If
Sub LoadSelectedMovie
'clear the listview content
ml.clear
'get list of movies
movies = modMovies.moviesList
Log(movies)
End Sub
This is inside a class module called headline.
Thanks.
PS: This currently works but need to do it the banano way:
B4X:
_banano_moviedb_headline.loadselectedmovie();