Change project structure.
This commit is contained in:
parent
0a5a59fdb6
commit
5423a71585
4 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
package dev.nuculabs.grpc;
|
package dev.nuculabs.nucuhub.domain;
|
||||||
|
|
||||||
import NucuCarSensorsProto.NucuCarSensors;
|
import NucuCarSensorsProto.NucuCarSensors;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
|
@ -1,10 +1,11 @@
|
||||||
package dev.nuculabs.grpc;
|
package dev.nuculabs.nucuhub.grpc;
|
||||||
|
|
||||||
import NucuCarSensorsProto.EnvironmentSensorGrpcServiceGrpc;
|
import NucuCarSensorsProto.EnvironmentSensorGrpcServiceGrpc;
|
||||||
import NucuCarSensorsProto.NucuCarSensors;
|
import NucuCarSensorsProto.NucuCarSensors;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import androidx.lifecycle.LiveData;
|
import androidx.lifecycle.LiveData;
|
||||||
import androidx.lifecycle.MutableLiveData;
|
import androidx.lifecycle.MutableLiveData;
|
||||||
|
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
|
||||||
import io.grpc.ManagedChannel;
|
import io.grpc.ManagedChannel;
|
||||||
import io.grpc.ManagedChannelBuilder;
|
import io.grpc.ManagedChannelBuilder;
|
||||||
import io.grpc.StatusRuntimeException;
|
import io.grpc.StatusRuntimeException;
|
|
@ -3,7 +3,7 @@ package dev.nuculabs.nucuhub.ui.sensors;
|
||||||
import androidx.lifecycle.LiveData;
|
import androidx.lifecycle.LiveData;
|
||||||
import androidx.lifecycle.MutableLiveData;
|
import androidx.lifecycle.MutableLiveData;
|
||||||
import androidx.lifecycle.ViewModel;
|
import androidx.lifecycle.ViewModel;
|
||||||
import dev.nuculabs.grpc.EnvironmentSensorData;
|
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
|
||||||
import dev.nuculabs.nucuhub.R;
|
import dev.nuculabs.nucuhub.R;
|
||||||
|
|
||||||
public class EnvironmentSensorViewModel extends ViewModel {
|
public class EnvironmentSensorViewModel extends ViewModel {
|
||||||
|
|
|
@ -11,8 +11,8 @@ import androidx.fragment.app.Fragment;
|
||||||
import androidx.lifecycle.Observer;
|
import androidx.lifecycle.Observer;
|
||||||
import androidx.lifecycle.ViewModelProviders;
|
import androidx.lifecycle.ViewModelProviders;
|
||||||
import com.google.android.material.chip.Chip;
|
import com.google.android.material.chip.Chip;
|
||||||
import dev.nuculabs.grpc.EnvironmentSensorData;
|
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
|
||||||
import dev.nuculabs.grpc.EnvironmentSensorService;
|
import dev.nuculabs.nucuhub.grpc.EnvironmentSensorService;
|
||||||
import dev.nuculabs.nucuhub.R;
|
import dev.nuculabs.nucuhub.R;
|
||||||
|
|
||||||
public class SensorsFragment extends Fragment {
|
public class SensorsFragment extends Fragment {
|
||||||
|
|
Loading…
Reference in a new issue