BuildmLearn / BuildmLearn-Toolkit-Android

This repository contains the Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
BSD 3-Clause "New" or "Revised" License
57 stars 132 forks source link

backpress not working properly in simulator of video,dictation and flash templates #314

Closed tejavojjala closed 7 years ago

tejavojjala commented 7 years ago

Problems in Video and Dictation templates:
Create a project and run the simulator. Now select a video(or dictation). Click back press. You will be redirected to choose. Instead go to the last fragment and click restart. Now click back press. Instead of redirecting to choose you will be exited.
Problems in flash card template:
Clicking backpress should take you to the previous card. Instead the app is exiting.

@opticod shall I create a pr for this?

opticod commented 7 years ago

Case Video and Dictation templates: Once the user restarts,on clicking back press, it should not redirect to last fragment. Hence it looks fine to me.

But with flash card template, its an issue, while checking one card, on pressing back, it should redirect to last fragment for that card.

You can continue with fixing the 2nd one.

tejavojjala commented 7 years ago

@opticod after restart,on clicking back press i didn't mean last fragment, l am saying the very first fragment where the user is asked to choose from the list available. Like say there are 2 different passages in a dictation project. Now if you choose the 1st and instead of submitting do backpress(not back button), you will again be redirected to first fragment and asked to choose one of the dictations. Now again choose 1st,submit it and restart. Now if you perform back press the app is exited instead of asking you to choose one of the dictations.

opticod commented 7 years ago

@iit2014086 , yea my mistake. I checked it. Its not showing the very first fragment.

opticod commented 7 years ago

@iit2014086, this issue is only with simulator or also with the created APKs?

tejavojjala commented 7 years ago

@opticod the issue is with the created APK's also. Shall I send a pr to toolkit-mobile-templates too?

opticod commented 7 years ago

Yaa. First u create a PR there, and wait for it to get reviewed and merged. Then with those changes and updated master branch of Toolkit-mobile-templates, create those updated APKs and add it to PR targeted here.

tejavojjala commented 7 years ago

Okay. I will send a pr there ;)

opticod commented 7 years ago

Closed via #394