-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
60 additions
and
110 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
app/src/main/java/karrel/com/bluetoothmanager/presenter/MainPresenter.java
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
app/src/main/java/karrel/com/bluetoothmanager/presenter/MainPresenter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package karrel.com.bluetoothmanager.presenter | ||
|
||
import android.bluetooth.BluetoothDevice | ||
|
||
/** | ||
* Created by Rell on 2018. 3. 23.. | ||
*/ | ||
|
||
interface MainPresenter { | ||
fun searchBluetoothDevices() | ||
|
||
fun enabledBluetooth() | ||
|
||
fun dissableBluetooth() | ||
|
||
fun connectBluetooth(data: BluetoothDevice) | ||
|
||
fun disconnectBluetooth() | ||
|
||
fun onResume() | ||
fun onStop() | ||
fun onDestroy() | ||
|
||
interface View { | ||
|
||
fun requireEnableBt() | ||
|
||
fun clearLog() | ||
|
||
fun addSearchedDevice(device: BluetoothDevice?) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters