Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 41 additions & 20 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void onStart() {
protected void onBindViewHolder(@NonNull AdminOrdersViewHolder holder, final int position, @NonNull final AdminOrders model) {

holder.userName.setText("Name: "+model.getName());
holder.userPhoneNumber.setText("Name: "+model.getPhone());
holder.userPhoneNumber.setText("Number: "+model.getPhone());
holder.userTotalPrice.setText("Total Ammount = Rs."+model.getTotalAmount());
holder.userDateTime.setText("Order at: "+model.getDate()+" "+ model.getTime());
holder.userShippingAddress.setText("Shipping Address: "+model.getAddress()+", "+model.getCity());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ protected void onBindViewHolder(@NonNull CartViewHolder holder, int position, @N
holder.txtProductQuantity.setText("Quantity = "+model.getQuantity());
holder.txtProductPrice.setText("Price = "+model.getPrice()+" Rs.");
holder.txtProductName.setText(model.getPname());
holder.txtProdctPerPrice.setText("Total Price = Rs." + ((Integer.valueOf(model.getPrice())))* Integer.valueOf(model.getQuantity()) );
}

@NonNull
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/com/dhruva/shopping/SettinsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class SettinsActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_settins);
storageProfilePrictureRef = FirebaseStorage.getInstance("https://ekart-cf358-default-rtdb.firebaseio.com/").getReference().child("Profile pictures");
storageProfilePrictureRef = FirebaseStorage.getInstance("gs://ekart-cf358.appspot.com").getReference().child("Profile pictures");

profileImageView = (CircleImageView) findViewById(R.id.settings_profile_image);
fullNameEditText = (EditText) findViewById(R.id.settings_full_name);
Expand Down Expand Up @@ -82,6 +82,7 @@ public void onClick(View view)
}
});

//
profileChangeTextBtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view)
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_settins.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
android:layout_marginEnd="15dp"
android:layout_marginBottom="15dp"
android:hint="Phone Number..."
android:editable="false"
android:minHeight="48dp"
android:padding="10dp"
android:textColorHint="@color/black" />
Expand Down