This file contains hidden or 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
| public class ScanInteractor { | |
| private final DevicesManager devicesManager; | |
| public ScanInteractor() { | |
| devicesManager = DevicesManager.getInstance(); | |
| } | |
| public Observable<ScanResultData> getDevices() { | |
| return devicesManager |
This file contains hidden or 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
| class AccountHolder extends MvpViewHolder implements AccountView { | |
| @InjectPresenter | |
| AccountPresenter mAccountPresenter; | |
| /** | |
| @BindView(R.id.item_account_check_box) | |
| CheckBox mCheckBox; | |
| ... | |
| **/ |
This file contains hidden or 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
| public class Temp { | |
| public View showFloatingView(View contentView) | |
| { | |
| final View floatingView = ((LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE)).inflate(R.layout.view_floating, null); | |
| final WindowManager windowManager = (WindowManager) getSystemService(WINDOW_SERVICE); | |
| final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams( | |
| WindowManager.LayoutParams.WRAP_CONTENT, | |
| WindowManager.LayoutParams.WRAP_CONTENT, |
OlderNewer