diff --git a/app/build.gradle b/app/build.gradle index 6c37ec9..8a3de6c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,6 +29,7 @@ buildFeatures { viewBinding true } + namespace 'com.example.nemophila' } //repositories { diff --git a/app/src/main/java/com/example/nemophila/MyPageActivity.java b/app/src/main/java/com/example/nemophila/MyPageActivity.java index ed666bd..d8409c8 100644 --- a/app/src/main/java/com/example/nemophila/MyPageActivity.java +++ b/app/src/main/java/com/example/nemophila/MyPageActivity.java @@ -83,7 +83,7 @@ } }); - /* ここからよくわかっていない */ + /* ここからあんまわかっていない */ RecyclerView rv = (RecyclerView) findViewById(R.id.postsList); LinearLayoutManager llm = new LinearLayoutManager(this); List postsDataset = new ArrayList<>(); @@ -93,6 +93,7 @@ rv.setLayoutManager(llm); rv.setAdapter(adapter); + accountViewModel.getAccountPosts(uid); accountViewModel.getAccountPostsLiveData().observe(this, new Observer >() { @Override public void onChanged(Collection Posts) { diff --git a/app/src/main/res/drawable/ic_baseline_add_circle_24.xml b/app/src/main/res/drawable/ic_baseline_add_circle_24.xml new file mode 100644 index 0000000..1499e09 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_add_circle_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/layout/layout_my_page_activity_posts.xml b/app/src/main/res/layout/layout_my_page_activity_posts.xml index 1467c83..88e5935 100644 --- a/app/src/main/res/layout/layout_my_page_activity_posts.xml +++ b/app/src/main/res/layout/layout_my_page_activity_posts.xml @@ -1,5 +1,6 @@ - + android:layout_height="match_parent" + android:layout_weight="0.1" /> + android:textSize="16sp" /> + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 98b5d27..3eaaa77 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '7.2.1' apply false - id 'com.android.library' version '7.2.1' apply false + id 'com.android.application' version '7.3.0' apply false + id 'com.android.library' version '7.3.0' apply false id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.0' apply false } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 870a1dc..eb62b05 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue May 30 13:58:12 JST 2023 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME