I thought that creating a custom method in my Activity class where I can change the visibility of a MenuItem and accessing it from the Fragment would work. Sadly, it did not.
It seems that the Fragment class has a method called setHasOptionsMenu(boolean) and you need to call that from within the onCreateView() method in order to be able to manipulate MenuItems from within onCreateOptionsMenu().
So this is how a sample Fragment class will look like.
We hear a lot about how the latest innovations are being incorporated into standard practices around various industries, with new buzzwords appearing in our everyday conversations on what seems like a daily basis. For any company that works with IT systems – either as their full-time job or even in the smallest part to send a few emails each day – it’s becoming increasingly important that you’re utilizing the latest updates to stay ahead, and this could mean that your employees have to go through a period of transition where they have to learn about the new processes.
To some business owners, this can be seen as a major issue because of the downtime associated with the transition from what they know to what they’re being encouraged to use, but there are a lot of benefits that outweigh the initial downtime. For instance, cloud technology is enabling businesses to organize themselves even when people are working away from the office.
Many companies will have one central server where all of the information is stored, but when they leave the premises to go to a client meeting or decide to work from home, they need a way to send that work to the relevant people to run their eye over what they’ve produced before it goes off to a client, and document management software produced by those at http://www.mclarensoftware.com/ has proven to improve the organisation of work completed by increasingly mobile employees.
As you would expect, incorporating new and exciting forms of technology into your everyday processes will have teething pains in the early days but developers are becoming much better at making user-friendly platforms that just about anyone can use from the complete computer-novice to the tech-savvy IT professional. The cloud has actually proven to be much more beneficial than the traditional shared server, and not just so employees can communicate when they’re away from the office.
One such benefit has proven to be that it works as a backup for your server. Too many businesses still store all of their files and information in one place, despite the risks associated with that server breaking down or the system being stolen by thieves who may break in after closing time. By storing files in the cloud, you don’t have to worry about using a physical form of storage, and access can be granted through a series of login details.
Another is that businesses with offices in different locations – maybe they have one in London and another in Manchester, for example – can easily transfer and share files using cloud-based document management systems, taking away the risks associated with file sharing through email attachments that can accidentally be sent to the wrong people or, worse still, hacked.
The cloud, and modern IT solutions in general, need to be adopted throughout companies as soon as it is financially viable to do so. This way, businesses can stay ahead of the competition rather than being left behind. If companies can bring in faster, more efficient systems then they will have much happier, significantly more productive employees and, therefore, happier clients and customers.
This article was written by Amanda Walters, an experienced freelance writer and regular contributor to Huffington Post. Follow her here: @Amanda_W84