You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
887 B
31 lines
887 B
package com.example.myapplication;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.os.Bundle;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.widget.ImageView;
|
|
import android.widget.TextView;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.fragment.app.Fragment;
|
|
|
|
public class SetDetailFragment extends Fragment {
|
|
private View view;
|
|
private ImageView imageView;
|
|
private TextView nameText,priceText;
|
|
@SuppressLint("SetTextI18n")
|
|
@Nullable
|
|
@Override
|
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,
|
|
@Nullable Bundle savedInstanceState){
|
|
view=inflater.inflate(R.layout.category_detail_content,container,false);
|
|
if(view!=null){
|
|
init();
|
|
}
|
|
|
|
}
|
|
}
|