We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3af313 commit 83394c7Copy full SHA for 83394c7
pythonforandroid/bootstraps/service_only/build/templates/Service.tmpl.java
@@ -50,6 +50,14 @@ public static void stop(Context ctx) {
50
ctx.stopService(intent);
51
}
52
53
+ /**
54
+ * {@inheritDoc}
55
+ */
56
+ @Override
57
+ public IBinder onBind(Intent intent) {
58
+ return mBinder;
59
+ }
60
+
61
/**
62
* Class used for the client Binder. Because we know this service always
63
* runs in the same process as its clients, we don't need to deal with IPC.
@@ -60,12 +68,4 @@ public class Service{{ name|capitalize }}Binder extends Binder {
68
return Service{{ name|capitalize }}.this;
69
70
-
64
- /**
65
- * {@inheritDoc}
66
- */
67
- @Override
- public IBinder onBind(Intent intent) {
- return mBinder;
- }
71
0 commit comments