Commit c3123679 authored by ankitasingh's avatar ankitasingh

Bug fix for feed

parent 5643adf7
......@@ -9,32 +9,22 @@
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" />
</component>
<component name="ChangeListManager">
<list default="true" id="d3ee5bd8-a194-4e5e-99e3-99dd32fc4efe" name="Default Changelist" comment="">
<list default="true" id="d3ee5bd8-a194-4e5e-99e3-99dd32fc4efe" name="Default Changelist" comment="minor changes and revised docs">
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/classAnalysis.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/classAnalysis.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/javaCompile/javaCompile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Config.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Config.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ImageAdapter.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemClaim.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemClaim.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemDetails.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemDetails.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsFoundRV.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsFoundRV.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Navigation.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Navigation.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NetworkConnection.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NetworkConnection.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedFound.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedFound.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedLost.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedLost.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/RedirectMyPosts.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/RedirectMyPosts.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/SendMail.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/SendMail.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/emailFragment.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/emailFragment.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
......@@ -45,6 +35,7 @@
<component name="DefaultGradleProjectSettings">
<option name="isMigrated" value="true" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="7bfee843" />
<component name="ExternalProjectsData">
<projectState path="$PROJECT_DIR$">
<ProjectState />
......@@ -60,65 +51,94 @@
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedFound.java">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="228">
<caret line="191" selection-start-line="191" selection-end-line="191" />
<state relative-caret-position="118">
<caret line="143" column="31" selection-start-line="143" selection-start-column="31" selection-end-line="143" selection-end-column="31" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#6182#7655#0" expanded="true" />
<element signature="e#7654#7655#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/RedirectMyPosts.java">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="12" column="20" lean-forward="true" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
<state relative-caret-position="-672">
<caret line="242" column="98" selection-start-line="242" selection-start-column="98" selection-end-line="242" selection-end-column="98" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="92">
<caret line="144" column="8" lean-forward="true" selection-start-line="144" selection-start-column="8" selection-end-line="144" selection-end-column="8" />
<state relative-caret-position="245">
<caret line="62" column="5" lean-forward="true" selection-start-line="62" selection-start-column="5" selection-end-line="62" selection-end-column="5" />
<folding>
<element signature="e#2163#2164#0" expanded="true" />
<element signature="e#5503#5504#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="305">
<caret line="104" column="11" selection-start-line="104" selection-start-column="11" selection-end-line="104" selection-end-column="11" />
<state relative-caret-position="154">
<caret line="251" column="44" lean-forward="true" selection-start-line="251" selection-start-column="44" selection-end-line="251" selection-end-column="44" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/SendMail.java">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="206">
<caret line="74" column="30" selection-start-line="74" selection-start-column="30" selection-end-line="74" selection-end-column="30" />
<state relative-caret-position="142">
<caret line="68" selection-start-line="68" selection-end-line="68" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="112">
<caret line="60" column="55" selection-start-line="60" selection-start-column="55" selection-end-line="60" selection-end-column="55" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#2689#2944#0" expanded="true" />
<element signature="e#2943#2944#0" expanded="true" />
<element signature="e#2435#2436#0" expanded="true" />
<element signature="e#2467#2468#0" expanded="true" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3208#3209#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/androidTest/java/com/example/instilostandfound/ExampleInstrumentedTest.java">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml">
<provider editor-type-id="android-designer2" />
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="17" column="13" selection-start-line="17" selection-start-column="13" selection-end-line="17" selection-end-column="13" />
<state relative-caret-position="300">
<caret line="27" column="46" selection-start-line="27" selection-start-column="46" selection-end-line="27" selection-end-column="46" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="10">
<caret line="20" selection-start-line="20" selection-end-line="20" />
</state>
</provider>
</entry>
......@@ -127,7 +147,7 @@
<entry file="file://$PROJECT_DIR$/app/src/test/java/com/example/instilostandfound/ExampleUnitTest.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="16" column="1" lean-forward="true" selection-start-line="16" selection-start-column="1" selection-end-line="16" selection-end-column="1" />
<caret line="16" column="1" selection-start-line="16" selection-start-column="1" selection-end-line="16" selection-end-column="1" />
</state>
</provider>
</entry>
......@@ -135,12 +155,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedLost.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="155" selection-start-line="155" selection-end-line="157" selection-end-column="7" />
<folding>
<element signature="e#6064#7537#0" expanded="true" />
<element signature="e#7536#7537#0" expanded="true" />
</folding>
<state relative-caret-position="1950">
<caret line="157" column="7" selection-start-line="157" selection-start-column="7" selection-end-line="157" selection-end-column="7" />
</state>
</provider>
</entry>
......@@ -158,7 +174,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>.idea</find>
<find>goog</find>
<find>myposts</find>
<find>my_posts_rv</find>
......@@ -188,6 +203,7 @@
<find>mDatabaseRef</find>
<find>MyPost</find>
<find>MyPostsAdaptor.OnItemClickListener</find>
<find>location</find>
</findStrings>
<replaceStrings>
<replace />
......@@ -230,20 +246,14 @@
<option value="$PROJECT_DIR$/app/src/main/res/layout/activity_item_details.xml" />
<option value="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/activity_item_claim.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml" />
<option value="$PROJECT_DIR$/app/build.gradle" />
<option value="$PROJECT_DIR$/app/src/main/res/menu/menu.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/content_lost_item.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/content_found_item.xml" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Config.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/emailFragment.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemClaim.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemDetails.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsFoundRV.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Navigation.java" />
......@@ -252,8 +262,14 @@
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedFound.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/RedirectMyPosts.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/SendMail.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml" />
<option value="$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java" />
</list>
</option>
</component>
......@@ -268,60 +284,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="PackagesPane">
<subPane>
<expand>
<path>
<item name="InstiLostAndFound" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
</path>
<path>
<item name="InstiLostAndFound" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
<item name="layout" type="1f31426a:PackageElementNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView">
<subPane>
<expand>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="instilostandfound" type="cbb59c9e:AndroidPsiDirectoryNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="instilostandfound" type="cbb59c9e:AndroidPsiDirectoryNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="instilostandfound" type="cbb59c9e:AndroidPsiDirectoryNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="Gradle Scripts" type="ae0cef3a:AndroidBuildScriptsGroupNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -389,6 +351,59 @@
<select />
</subPane>
</pane>
<pane id="PackagesPane">
<subPane>
<expand>
<path>
<item name="InstiLostAndFound" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
</path>
<path>
<item name="InstiLostAndFound" type="58d84e3e:PackageViewProjectNode" />
<item name="app" type="616d4139:PackageViewModuleNode" />
<item name="layout" type="1f31426a:PackageElementNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView">
<subPane>
<expand>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="instilostandfound" type="cbb59c9e:AndroidPsiDirectoryNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="res" type="d4f16f75:AndroidResFolderNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="res" type="d4f16f75:AndroidResFolderNode" />
<item name="layout" type="ddeffd01:AndroidResFolderTypeNode" />
</path>
<path>
<item name="InstiLostAndFound" type="1abcf292:AndroidViewProjectNode" />
<item name="Gradle Scripts" type="ae0cef3a:AndroidBuildScriptsGroupNode" />
</path>
</expand>
<select />
</subPane>
</pane>
</panes>
</component>
<component name="PropertiesComponent">
......@@ -652,12 +667,18 @@
<option name="project" value="LOCAL" />
<updated>1574752940393</updated>
</task>
<option name="localTasksCounter" value="22" />
<task id="LOCAL-00022" summary="minor changes and revised docs">
<created>1574771906343</created>
<option name="number" value="00022" />
<option name="presentableId" value="LOCAL-00022" />
<option name="project" value="LOCAL" />
<updated>1574771906343</updated>
</task>
<option name="localTasksCounter" value="23" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="65" y="-4" width="1301" height="772" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Captures" order="0" side_tool="true" weight="0.25" />
<window_info content_ui="combo" id="Project" order="1" visible="true" weight="0.25338647" />
......@@ -668,17 +689,17 @@
<window_info id="Designer" order="6" />
<window_info id="Resources Explorer" order="7" weight="0.32955465" />
<window_info id="Capture Tool" order="8" />
<window_info active="true" anchor="bottom" id="Run" order="0" visible="true" weight="0.3658915" />
<window_info anchor="bottom" id="Run" order="0" weight="0.3860465" />
<window_info anchor="bottom" id="Logcat" order="1" weight="0.06908463" />
<window_info anchor="bottom" id="TODO" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.33448875" />
<window_info active="true" anchor="bottom" id="Debug" order="3" visible="true" weight="0.448062" />
<window_info anchor="bottom" id="Terminal" order="4" />
<window_info anchor="bottom" id="Event Log" order="5" sideWeight="0.50121456" side_tool="true" weight="0.25996533" />
<window_info anchor="bottom" id="Version Control" order="6" weight="0.40069085" />
<window_info anchor="bottom" id="Build" order="7" sideWeight="0.49878544" weight="0.30697674" />
<window_info anchor="bottom" id="Find" order="8" weight="0.4852713" />
<window_info active="true" anchor="bottom" id="Messages" order="9" visible="true" weight="0.13953489" />
<window_info anchor="bottom" id="Android Profiler" order="10" show_stripe_button="false" />
<window_info anchor="bottom" id="Android Profiler" order="10" />
<window_info anchor="right" id="Hierarchy" order="0" weight="0.32955465" />
<window_info anchor="right" id="Capture Analysis" order="1" />
<window_info anchor="right" id="Gradle" order="2" />
......@@ -783,7 +804,8 @@
<MESSAGE value="filter activity partial changes" />
<MESSAGE value="filter activity complete changes" />
<MESSAGE value="filter activity complete changes merged with latest changes and date text size change" />
<option name="LAST_COMMIT_MESSAGE" value="filter activity complete changes merged with latest changes and date text size change" />
<MESSAGE value="minor changes and revised docs" />
<option name="LAST_COMMIT_MESSAGE" value="minor changes and revised docs" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/list_item.xml">
......@@ -849,12 +871,12 @@
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/AndroidManifest.xml">
<provider editor-type-id="android-manifest" />
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="59">
<caret line="21" column="50" selection-start-line="21" selection-start-column="50" selection-end-line="21" selection-end-column="50" />
</state>
</provider>
<provider editor-type-id="android-manifest" />
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_navigation.xml">
<provider editor-type-id="android-designer2" />
......@@ -874,14 +896,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml">
<provider selected="true" editor-type-id="android-designer2" />
<provider editor-type-id="text-editor">
<state relative-caret-position="540">
<caret line="36" column="41" selection-start-line="36" selection-start-column="41" selection-end-line="36" selection-end-column="41" />
</state>
</provider>
</entry>
<entry file="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.appcompat/appcompat/1.1.0/9865019bbd2d95e41dede3d8ebf964aa93f97766/appcompat-1.1.0-sources.jar!/androidx/appcompat/app/AlertController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="112">
......@@ -957,31 +971,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2115">
<caret line="141" column="4" selection-start-line="141" selection-start-column="4" selection-end-line="141" selection-end-column="4" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#1864#1865#0" expanded="true" />
<element signature="e#1892#1893#0" expanded="true" />
<element signature="e#2118#2119#0" expanded="true" />
<element signature="e#2147#2148#0" expanded="true" />
<element signature="e#2260#2261#0" expanded="true" />
<element signature="e#2292#2293#0" expanded="true" />
<element signature="e#2435#2436#0" expanded="true" />
<element signature="e#2469#2470#0" expanded="true" />
<element signature="e#2549#2550#0" expanded="true" />
<element signature="e#2584#2585#0" expanded="true" />
<element signature="e#2993#2994#0" expanded="true" />
<element signature="e#3020#3021#0" expanded="true" />
<element signature="e#3074#3075#0" expanded="true" />
<element signature="e#3100#3101#0" expanded="true" />
<element signature="e#3184#3185#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/emailFragment.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="201">
......@@ -997,16 +986,6 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ImageAdapter.java" />
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3540">
<caret line="274" column="3" selection-start-line="274" selection-start-column="3" selection-end-line="276" selection-end-column="7" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/ItemClaim.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
......@@ -1021,33 +1000,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="28" selection-start-line="28" selection-end-line="28" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="20" selection-start-line="20" selection-end-line="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="102" column="32" selection-start-line="102" selection-start-column="32" selection-end-line="102" selection-end-column="32" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsFoundRV.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="211">
......@@ -1059,13 +1011,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="45" column="7" selection-start-line="45" selection-start-column="7" selection-end-line="45" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/Navigation.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88">
......@@ -1090,25 +1035,12 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedLost.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="155" selection-start-line="155" selection-end-line="157" selection-end-column="7" />
<folding>
<element signature="e#6064#7537#0" expanded="true" />
<element signature="e#7536#7537#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedFound.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="228">
<state relative-caret-position="2460">
<caret line="191" selection-start-line="191" selection-end-line="191" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#6182#7655#0" expanded="true" />
<element signature="e#7654#7655#0" expanded="true" />
</folding>
</state>
</provider>
......@@ -1116,18 +1048,23 @@
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/RedirectMyPosts.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="12" column="20" lean-forward="true" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
<caret line="12" column="20" selection-start-line="12" selection-start-column="20" selection-end-line="12" selection-end-column="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1350">
<caret line="104" column="11" selection-start-line="104" selection-start-column="11" selection-end-line="104" selection-end-column="11" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/SendMail.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="206">
<state relative-caret-position="900">
<caret line="74" column="30" selection-start-line="74" selection-start-column="30" selection-end-line="74" selection-end-column="30" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#2689#2944#0" expanded="true" />
<element signature="e#2943#2944#0" expanded="true" />
</folding>
</state>
</provider>
......@@ -1142,21 +1079,91 @@
<entry file="file://$PROJECT_DIR$/app/src/test/java/com/example/instilostandfound/ExampleUnitTest.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="16" column="1" lean-forward="true" selection-start-line="16" selection-start-column="1" selection-end-line="16" selection-end-column="1" />
<caret line="16" column="1" selection-start-line="16" selection-start-column="1" selection-end-line="16" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsFeedLost.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="92">
<caret line="144" column="8" lean-forward="true" selection-start-line="144" selection-start-column="8" selection-end-line="144" selection-end-column="8" />
<state relative-caret-position="1950">
<caret line="157" column="7" selection-start-line="157" selection-start-column="7" selection-end-line="157" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/NewsfeedAdaptor.java">
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPosts.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="305">
<caret line="104" column="11" selection-start-line="104" selection-start-column="11" selection-end-line="104" selection-end-column="11" />
<state relative-caret-position="10">
<caret line="20" selection-start-line="20" selection-end-line="20" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="118">
<caret line="143" column="31" selection-start-line="143" selection-start-column="31" selection-end-line="143" selection-end-column="31" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/FoundItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-672">
<caret line="242" column="98" selection-start-line="242" selection-start-column="98" selection-end-line="242" selection-end-column="98" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/LostItem.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="251" column="44" lean-forward="true" selection-start-line="251" selection-start-column="44" selection-end-line="251" selection-end-column="44" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsLostRV.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="142">
<caret line="68" selection-start-line="68" selection-end-line="68" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/CreateFoundObject.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="112">
<caret line="60" column="55" selection-start-line="60" selection-start-column="55" selection-end-line="60" selection-end-column="55" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#2435#2436#0" expanded="true" />
<element signature="e#2467#2468#0" expanded="true" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3208#3209#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_email.xml">
<provider editor-type-id="android-designer2" />
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="27" column="46" selection-start-line="27" selection-start-column="46" selection-end-line="27" selection-end-column="46" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/com/example/instilostandfound/MyPostsAdaptor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="245">
<caret line="62" column="5" lean-forward="true" selection-start-line="62" selection-start-column="5" selection-end-line="62" selection-end-column="5" />
<folding>
<element signature="e#2163#2164#0" expanded="true" />
<element signature="e#5503#5504#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......
......@@ -57,6 +57,12 @@ public class CreateFoundObject implements Serializable {
}
/**
* Defined a no object constructor for empty values
*/
public CreateFoundObject() {
}
/**
* Get LDAP id
* @return LDAP of user
......
......@@ -240,7 +240,7 @@ public class FoundItem extends AppCompatActivity implements View.OnClickListener
Date datef = new Date();
Toast.makeText(FoundItem.this, "No file selected", Toast.LENGTH_SHORT).show();
CreateFoundObject upload = new CreateFoundObject(username,Title ,"NO-IMAGE","location", Desc,
CreateFoundObject upload = new CreateFoundObject(username,Title ,"NO-IMAGE",Place, Desc,
Category, Date,"found");
String uploadId = myRef.push().getKey();
Log.v("UploadID", uploadId);
......
......@@ -247,7 +247,7 @@ public class LostItem extends AppCompatActivity implements View.OnClickListener,
Date datef = new Date();
Toast.makeText(LostItem.this, "No file selected", Toast.LENGTH_SHORT).show();
CreateFoundObject upload = new CreateFoundObject(username,Title ,"NO-IMAGE","location", Desc,
CreateFoundObject upload = new CreateFoundObject(username,Title ,"NO-IMAGE",Place, Desc,
Category, Date,"lost");
String uploadId = myRef.push().getKey();
Log.v("UploadID", uploadId);
......
......@@ -17,6 +17,9 @@ import android.view.MenuItem;
import android.widget.EditText;
import android.widget.Toast;
/**
* Login Activity for login using LDAP credentials
*/
public class MainActivity extends AppCompatActivity implements View.OnClickListener{
private FirebaseAuth mAuth;
EditText ldap_id;
......@@ -24,6 +27,10 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
public static final String ID = "com.example.instilostandfound.id";
ProgressDialog pd;
/**
* Sign in using valid credentials
* @param savedInstanceState current state
*/
@Override
protected void onCreate(Bundle savedInstanceState) {
......@@ -48,6 +55,9 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
});*/
}
/**
* Check if interent is working or not
*/
@Override
public void onStart() {
super.onStart();
......@@ -84,6 +94,9 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
return super.onOptionsItemSelected(item);
}
/**
* Implementing LDAP login using firebase (dummy)
*/
private void LDAPLogin()
{
final String ldap = ldap_id.getText().toString().trim();
......@@ -125,6 +138,11 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
});
}
/**
* Login when clicked
* @param view login button
*/
public void onClick(View view)
{
switch (view.getId())
......
......@@ -18,7 +18,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Reusable activity for veiwing my posts -> kept in the code for future reference
*/
public class MyPosts extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
......
......@@ -56,6 +56,10 @@ public class MyPostsAdaptor extends RecyclerView.Adapter<MyPostsAdaptor.myViewHo
.fit()
.centerCrop()
.into(holder.imageView);
/* if (current_post.getImageUrl() == null) {
Picasso.with(mcontext).load(R.id.camera).fit()
.centerCrop()
.into(holder.imageView);}*/
}
/**
......
......@@ -24,7 +24,7 @@
android:layout_height="wrap_content"
android:lines="10"
android:layout_marginLeft="10dp"
android:textColor="#1A3A1A"
android:textColor="#FFFFFF"
android:hint="Type your message here. Enter your contact details , place for meeting, etc if required"
android:textColorHint="#1A3A1A"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment