Commit 96aa6c73 authored by santhosh's avatar santhosh
Browse files

good

parent 5d2fbabc
Showing with 1399 additions and 610 deletions
+1399 -610
......@@ -100,19 +100,24 @@ class ListItem extends Component {
.then((response) => response.json())
.then((responseJson) => {
console.warn("Messages For chat application" + JSON.stringify(responseJson.data));
// alert("datasource3"+JSON.stringify(responseJson))
// alert(JSON.stringify(responseJson))
// console.warn("Messages from users" + JSON.stringify(responseJson))
// console.warn("Send By Name" + JSON.stringify(responseJson.data))
if (responseJson.status === 'True') {
console.warn("Setted Data")
this.setState({
dataSource3: responseJson.data,
});
}
else {
console.warn("Empty Data")
this.setState({
dataSource3: '',
dataSource: '',
});
}
})
......@@ -187,7 +192,7 @@ class ListItem extends Component {
else {
console.warn("Empty Data")
this.setState({
dataSource2: '',
dataSource: '',
});
}
})
......@@ -255,7 +260,7 @@ class ListItem extends Component {
return groupMsg[groupMsg.length - 1]
}
// alert(getLastMsgTime)
// var data1=this.state.dataSource1;
const getMessagesCount = (data1, id) => {
// console.warn("ids"+JSON.stringify(data1) +id)
......@@ -841,7 +846,7 @@ export default class AdminChat extends Component {
.then((responseJson) => {
// alert(JSON.stringify(responseJson))
// console.warn("Employees" + JSON.stringify(responseJson));
// this.addManageEmployeesList(responseJson.data, cropcode) //Store Manage Employee List in Offline
this.addManageEmployeesList(responseJson.data, cropcode) //Store Manage Employee List in Offline
// this.setState({
// isLoading: false,
......@@ -1504,4 +1509,4 @@ const pickerSelectStyles = StyleSheet.create({
},
});
});
\ No newline at end of file
This diff is collapsed.
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