Change project structure.

This commit is contained in:
Denis-Cosmin Nutiu 2020-11-28 23:06:05 +02:00
parent 0a5a59fdb6
commit 5423a71585
4 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,4 @@
package dev.nuculabs.grpc;
package dev.nuculabs.nucuhub.domain;
import NucuCarSensorsProto.NucuCarSensors;
import android.util.Log;

View file

@ -1,10 +1,11 @@
package dev.nuculabs.grpc;
package dev.nuculabs.nucuhub.grpc;
import NucuCarSensorsProto.EnvironmentSensorGrpcServiceGrpc;
import NucuCarSensorsProto.NucuCarSensors;
import android.util.Log;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.StatusRuntimeException;

View file

@ -3,7 +3,7 @@ package dev.nuculabs.nucuhub.ui.sensors;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import dev.nuculabs.grpc.EnvironmentSensorData;
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
import dev.nuculabs.nucuhub.R;
public class EnvironmentSensorViewModel extends ViewModel {

View file

@ -11,8 +11,8 @@ import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProviders;
import com.google.android.material.chip.Chip;
import dev.nuculabs.grpc.EnvironmentSensorData;
import dev.nuculabs.grpc.EnvironmentSensorService;
import dev.nuculabs.nucuhub.domain.EnvironmentSensorData;
import dev.nuculabs.nucuhub.grpc.EnvironmentSensorService;
import dev.nuculabs.nucuhub.R;
public class SensorsFragment extends Fragment {