alkaa | Open-source app to manage your tasks | Architecture library
kandi X-RAY | alkaa Summary
kandi X-RAY | alkaa Summary
Alkaa (begin, start in Finnish) is a to-do application project to study the latest components, architecture and tools for Android development. The project evolved a lot since the beginning is available on Google Play! :heart:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of alkaa
alkaa Key Features
alkaa Examples and Code Snippets
Community Discussions
Trending Discussions on alkaa
QUESTION
When I open my application from the launcher icon, all the Navigation and ActionBar button works fine. But when I access the application from an explicit deep link, my ActionBar gets confused.
My main navigation is:
-> [TaskListFragment] -> [TaskDetailFragment]
When opening by the launcher icon, the back button shows correctly:
In my app, you can create an alarm for each task, so when the alarm rings and the user clicks on the notification, the flow is:
-> [TaskDetailFragment]
Then, it shows the wrong button: Clicking in the drawer icon, it returns to [TaskListFragment]. The behavior is correct, but the ActionBar icon is not.
This is how I'm creating the deep link:
...ANSWER
Answered 2019-Jun-07 at 11:33I opened an Issue Tracker once I thought this was a bug in the library.
Actually the issue is that I'm using a ActionBarDrawerToggle
to do a custom Drawer animation and based on the developer that replied to the issue:
"[...] the Navigation documentation suggests not using ActionBarDrawerToggle at all, as transitions are handled for you"
And in the Navigation docs:
Note: When using NavigationUI, the top app bar helpers automatically transition between the drawer icon and the Up icon as the current destination changes. You don't need to use ActionBarDrawerToggle.
Once I need the ActionBarDrawerToggle
for the custom animation, I can't remove it. To fix the issue, I need to call my Drawer setup first with the ActionBarDrawerToggle
definition and then call the Navigation setup methods, like NavigationUI.setupActionBarWithNavController()
.
TL;DR
If you are using ActionBarDrawerToggle
with Jetpack Navigation
make sure that you set the ActionBarDrawerToggle
before call the Navigation
methods.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install alkaa
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page