LibreOffice Module android (master)
1
android
source
src
java
org
libreoffice
LibreOfficeApplication.java
Go to the documentation of this file.
1
/*
2
*
3
* * This file is part of the LibreOffice project.
4
* *
5
* * This Source Code Form is subject to the terms of the Mozilla Public
6
* * License, v. 2.0. If a copy of the MPL was not distributed with this
7
* * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
*/
10
11
package
org.libreoffice;
12
13
import
android.content.Context;
14
import
android.os.Handler;
15
import
androidx.multidex.MultiDexApplication;
16
17
public
class
LibreOfficeApplication
extends
MultiDexApplication {
18
19
private
static
Handler
mainHandler
;
20
21
public
LibreOfficeApplication
() {
22
mainHandler
=
new
Handler();
23
}
24
25
public
static
Handler
getMainHandler
() {
26
return
mainHandler
;
27
}
28
29
@Override
30
protected
void
attachBaseContext
(Context base) {
31
super.attachBaseContext(
LocaleHelper
.
onAttach
(
base
));
32
}
33
}
org.libreoffice.LibreOfficeApplication
Definition:
LibreOfficeApplication.java:17
org.libreoffice.LibreOfficeApplication.attachBaseContext
void attachBaseContext(Context base)
Definition:
LibreOfficeApplication.java:30
org.libreoffice.LibreOfficeApplication.LibreOfficeApplication
LibreOfficeApplication()
Definition:
LibreOfficeApplication.java:21
org.libreoffice.LibreOfficeApplication.getMainHandler
static Handler getMainHandler()
Definition:
LibreOfficeApplication.java:25
org.libreoffice.LibreOfficeApplication.mainHandler
static Handler mainHandler
Definition:
LibreOfficeApplication.java:19
org.libreoffice.LocaleHelper
Definition:
LocaleHelper.java:12
org.libreoffice.LocaleHelper.onAttach
static Context onAttach(Context context)
Definition:
LocaleHelper.java:18
base
void const * base
Generated on Sun Jul 30 2023 04:39:27 for LibreOffice Module android (master) by
1.9.3