Back to project page java_mega_api.
The source code is released under:
GNU General Public License
If you think the Android project java_mega_api listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/******************************************************************************* * Copyright (c) 2013 Dan Brough dan@danbrough.org. All rights reserved. * This program and the accompanying materials are made available under the * terms of the GNU Public License v3.0 which accompanies this distribution, * and is available at http://www.gnu.org/licenses/gpl.html * //from w w w .j a va2s . co m ******************************************************************************/ package org.danbrough.mega; public class AndroidClient extends MegaClient { // private static final org.slf4j.Logger log = org.slf4j.LoggerFactory // .getLogger(AndroidClient.class.getSimpleName()); private transient MegaApplication application; public void setApplication(MegaApplication application) { this.application = application; } @Override public void onNodesModified() { application.onNodesModified(); } @Override public void setCurrentFolder(Node folder) { super.setCurrentFolder(folder); application.onFolderChanged(getCurrentFolder()); } }